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

ruby-changes:12333

From: wyhaines <ko1@a...>
Date: Sat, 11 Jul 2009 00:39:00 +0900 (JST)
Subject: [ruby-changes:12333] Ruby:r24028 (ruby_1_8_6): Added FCNTL inclusion to fix a compile error with solaris (backport from r22812)

wyhaines	2009-07-11 00:38:48 +0900 (Sat, 11 Jul 2009)

  New Revision: 24028

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

  Log:
    Added FCNTL inclusion to fix a compile error with solaris (backport from r22812)

  Modified files:
    branches/ruby_1_8_6/ChangeLog
    branches/ruby_1_8_6/file.c
    branches/ruby_1_8_6/version.h

Index: ruby_1_8_6/ChangeLog
===================================================================
--- ruby_1_8_6/ChangeLog	(revision 24027)
+++ ruby_1_8_6/ChangeLog	(revision 24028)
@@ -1,5 +1,9 @@
-Thu Jul 9 11:22:00 2009 Kirk Haines <khaines@r...>
+Fri Jul 10 04:00:00 2009 Kirk Haines <khaines@r...>
 
+	* file.c: Added FCNTL inclusion to fix a compile error with solaris (backport from r22812)
+
+Thu Jul  9 11:22:00 2009 Kirk Haines <khaines@r...>
+
 	* gc.c: Add a check for DATA_PTR(obj) to run_final as a stopgap fix for debilitating segfaults.
 
 	* gc.c: Fixes warning: passing argument 1 of 'add_freelist' makes pointer from integer without a cast
Index: ruby_1_8_6/version.h
===================================================================
--- ruby_1_8_6/version.h	(revision 24027)
+++ ruby_1_8_6/version.h	(revision 24028)
@@ -2,7 +2,7 @@
 #define RUBY_RELEASE_DATE "2009-06-08"
 #define RUBY_VERSION_CODE 186
 #define RUBY_RELEASE_CODE 20090608
-#define RUBY_PATCHLEVEL 376
+#define RUBY_PATCHLEVEL 377
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8
Index: ruby_1_8_6/file.c
===================================================================
--- ruby_1_8_6/file.c	(revision 24027)
+++ ruby_1_8_6/file.c	(revision 24028)
@@ -71,6 +71,10 @@
 #include <sys/mkdev.h>
 #endif
 
+#if defined(HAVE_FCNTL_H)
+#include <fcntl.h>
+#endif
+
 #if !defined HAVE_LSTAT && !defined lstat
 #define lstat stat
 #endif

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

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