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

ruby-changes:40539

From: usa <ko1@a...>
Date: Tue, 17 Nov 2015 19:50:45 +0900 (JST)
Subject: [ruby-changes:40539] usa:r52618 (trunk): * win32/win32.c (fstat): declare for mingw.

usa	2015-11-17 19:50:28 +0900 (Tue, 17 Nov 2015)

  New Revision: 52618

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

  Log:
    * win32/win32.c (fstat): declare for mingw.

  Modified files:
    trunk/ChangeLog
    trunk/win32/win32.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52617)
+++ ChangeLog	(revision 52618)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Nov 17 19:50:06 2015  NAKAMURA Usaku  <usa@r...>
+
+	* win32/win32.c (fstat): declare for mingw.
+
 Tue Nov 17 19:32:42 2015  Koichi Sasada  <ko1@a...>
 
 	* method.h (METHOD_ENTRY_COMPLEMENTED(_SET)): introduced to recognize
Index: win32/win32.c
===================================================================
--- win32/win32.c	(revision 52617)
+++ win32/win32.c	(revision 52618)
@@ -5164,7 +5164,7 @@ static DWORD stati64_handle(HANDLE h, st https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L5164
 
 /* License: Ruby's */
 static void
-stati64_set_inode(PBY_HANDLE_FILE_INFORMATION pinfo, struct stati64 *st)
+stati64_set_inode(BY_HANDLE_FILE_INFORMATION *pinfo, struct stati64 *st)
 {
     /* struct stati64 layout
      *
@@ -5205,6 +5205,7 @@ stati64_set_inode_handle(HANDLE h, struc https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L5205
 }
 
 #undef fstat
+extern int fstat(int, struct stat *);
 /* License: Ruby's */
 int
 rb_w32_fstat(int fd, struct stat *st)

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

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