ruby-changes:49002
From: usa <ko1@a...>
Date: Tue, 12 Dec 2017 02:31:48 +0900 (JST)
Subject: [ruby-changes:49002] usa:r61121 (trunk): fixed typo
usa 2017-12-12 02:31:43 +0900 (Tue, 12 Dec 2017) New Revision: 61121 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61121 Log: fixed typo * win32/win32.c (get_ino): forgotten to specify the member. thanks kubo-san. Modified files: trunk/win32/win32.c Index: win32/win32.c =================================================================== --- win32/win32.c (revision 61120) +++ win32/win32.c (revision 61121) @@ -5475,8 +5475,8 @@ stati128_handle(HANDLE h, struct stati12 https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L5475 st->st_nlink = info.nNumberOfLinks; attr = info.dwFileAttributes; if (!get_ino(h, &fii)) { - st->st_ino = *((unsigned __int64 *)&fii); - st->st_inohigh = *((__int64 *)&fii + 1); + st->st_ino = *((unsigned __int64 *)&fii.FileId); + st->st_inohigh = *((__int64 *)&fii.FileId + 1); } else { st->st_ino = ((__int64)info.nFileIndexHigh << 32) | info.nFileIndexLow; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/