mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fixed typo
* win32/win32.c (get_ino): forgotten to specify the member. thanks kubo-san. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b5d5cce11b
commit
9e9498c227
1 changed files with 2 additions and 2 deletions
|
@ -5475,8 +5475,8 @@ stati128_handle(HANDLE h, struct stati128 *st)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue