ruby-changes:26940
From: nobu <ko1@a...>
Date: Wed, 30 Jan 2013 17:08:35 +0900 (JST)
Subject: [ruby-changes:26940] nobu:r38992 (trunk): win32.h: revert r37337
nobu 2013-01-30 17:08:23 +0900 (Wed, 30 Jan 2013) New Revision: 38992 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38992 Log: win32.h: revert r37337 * include/ruby/win32.h (fstat): revert r37337, which uses _fstati64() instead of fstati64() on mingw32. [Bug #7276] Modified files: trunk/ChangeLog trunk/include/ruby/win32.h Index: include/ruby/win32.h =================================================================== --- include/ruby/win32.h (revision 38991) +++ include/ruby/win32.h (revision 38992) @@ -177,7 +177,7 @@ typedef unsigned int uintptr_t; https://github.com/ruby/ruby/blob/trunk/include/ruby/win32.h#L177 #if SIZEOF_OFF_T == 8 #define off_t __int64 #define stat stati64 -#define fstat(fd,st) _fstati64(fd,st) +#define fstat(fd,st) fstati64(fd,st) #if defined(__BORLANDC__) #define stati64(path, st) rb_w32_stati64(path, st) #elif !defined(_MSC_VER) || RT_VER < 80 Index: ChangeLog =================================================================== --- ChangeLog (revision 38991) +++ ChangeLog (revision 38992) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Jan 30 17:08:20 2013 Nobuyoshi Nakada <nobu@r...> + + * include/ruby/win32.h (fstat): revert r37337, which uses _fstati64() + instead of fstati64() on mingw32. [Bug #7276] + Wed Jan 30 15:26:37 2013 Shugo Maeda <shugo@r...> * ext/socket/unixsocket.c (rsock_init_unixsock): use rb_inspect() -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/