[glib: 1/2] W32: Correctly set st_ino when doing private stat()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] W32: Correctly set st_ino when doing private stat()
- Date: Mon, 20 Jan 2020 10:49:55 +0000 (UTC)
commit 9b232fa743bd3549680ae75f924ae6e92bb220e3
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Sun Jan 19 16:50:25 2020 +0000
W32: Correctly set st_ino when doing private stat()
glib/gstdio.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/glib/gstdio.c b/glib/gstdio.c
index d4ae9c964..d950d2d54 100644
--- a/glib/gstdio.c
+++ b/glib/gstdio.c
@@ -309,6 +309,7 @@ _g_win32_fill_privatestat (const struct __stat64 *statbuf,
GWin32PrivateStat *buf)
{
buf->st_dev = statbuf->st_dev;
+ buf->st_ino = statbuf->st_ino;
buf->st_mode = statbuf->st_mode;
buf->volume_serial = handle_info->dwVolumeSerialNumber;
buf->file_index = (((guint64) handle_info->nFileIndexHigh) << 32) | handle_info->nFileIndexLow;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]