mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Merge branch 'w32-gstat-ino-master' into 'master'
W32: Correctly set st_ino when doing private stat() See merge request GNOME/glib!1330
This commit is contained in:
commit
fda1c651d5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user