From 9b232fa743bd3549680ae75f924ae6e92bb220e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Sun, 19 Jan 2020 16:50:25 +0000 Subject: [PATCH] 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;