[前][次][番号順一覧][スレッド一覧]

ruby-changes:25285

From: nobu <ko1@a...>
Date: Sat, 27 Oct 2012 10:06:02 +0900 (JST)
Subject: [ruby-changes:25285] nobu:r37337 (trunk): win32.h: fstat on mingw32

nobu	2012-10-27 10:05:06 +0900 (Sat, 27 Oct 2012)

  New Revision: 37337

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37337

  Log:
    win32.h: fstat on mingw32
    
    * include/ruby/win32.h (fstat): use _fstati64() instead of fstati64()
      on mingw32.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/win32.h

Index: include/ruby/win32.h
===================================================================
--- include/ruby/win32.h	(revision 37336)
+++ include/ruby/win32.h	(revision 37337)
@@ -177,7 +177,7 @@
 #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 37336)
+++ ChangeLog	(revision 37337)
@@ -1,3 +1,8 @@
+Sat Oct 27 10:05:03 2012  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/win32.h (fstat): use _fstati64() instead of fstati64()
+	  on mingw32.
+
 Sat Oct 27 06:28:33 2012  Aaron Patterson <aaron@t...>
 
 	* object.c (rb_mod_const_get): const_get accepts qualified constant

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]