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

ruby-changes:15407

From: nobu <ko1@a...>
Date: Sun, 11 Apr 2010 11:58:43 +0900 (JST)
Subject: [ruby-changes:15407] Ruby:r27300 (trunk): * include/ruby/win32.h (ftruncate): rename to get rid of conflict

nobu	2010-04-11 11:58:26 +0900 (Sun, 11 Apr 2010)

  New Revision: 27300

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

  Log:
    * include/ruby/win32.h (ftruncate): rename to get rid of conflict
      with same name but non-LFS function on MinGW.  [ruby-core:24757]

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

Index: include/ruby/win32.h
===================================================================
--- include/ruby/win32.h	(revision 27299)
+++ include/ruby/win32.h	(revision 27300)
@@ -359,6 +359,7 @@
 //
 
 #define SUFFIX
+#define ftruncate rb_w32_ftruncate
 extern int       truncate(const char *path, off_t length);
 extern int       ftruncate(int fd, off_t length);
 extern int       fseeko(FILE *stream, off_t offset, int whence);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27299)
+++ ChangeLog	(revision 27300)
@@ -1,3 +1,8 @@
+Sun Apr 11 11:58:23 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/win32.h (ftruncate): rename to get rid of conflict
+	  with same name but non-LFS function on MinGW.  [ruby-core:24757]
+
 Sun Apr 11 10:33:34 2010  Eric Hodel  <drbrain@s...>
 
 	* lib/rdoc:  Update to RDoc 2.5.3.  Includes r27288 and r27290.

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

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