[glib/glib-2-62: 1/2] W32: Correctly set st_ino when doing private stat()



commit ff3c3be47da762776bc58f03595709d74fa723f9
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 653c8a3a1..e9c3f1b62 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]