From efd79dc44c73f0ae7ee5e664365c44acef668e58 Mon Sep 17 00:00:00 2001 From: usa Date: Sun, 10 Dec 2017 17:26:58 +0000 Subject: support 128bit ino on Windows (if available) * win32/win32.c, include/ruby/win32.h (stati128, rb_{,u,l,ul}stati128): rename from stati64ns, change the type of st_ino to 64bit and added st_inohigh. * dir.c, file.c (stat, lstat): follow above changes. * file.c (rb_stat_ino): support 128bit ino. * win32/win32.c (rb_{,u,l,ul}stati128): ditto. [Feature #13731] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index be20c43ce1..7d4dc8781f 100644 --- a/dir.c +++ b/dir.c @@ -1366,9 +1366,9 @@ to_be_ignored(int e) } #ifdef _WIN32 -#define STAT(p, s) rb_w32_ustati64ns((p), (s)) +#define STAT(p, s) rb_w32_ustati128((p), (s)) #undef lstat -#define lstat(p, s) rb_w32_ulstati64ns((p), (s)) +#define lstat(p, s) rb_w32_ulstati128((p), (s)) #else #define STAT(p, s) stat((p), (s)) #endif -- cgit v1.2.3