ruby-changes:11968
From: shyouhei <ko1@a...>
Date: Wed, 3 Jun 2009 21:17:41 +0900 (JST)
Subject: [ruby-changes:11968] Ruby:r23632 (ruby_1_8_7): merge revision(s) 22812:
shyouhei 2009-06-03 21:17:29 +0900 (Wed, 03 Jun 2009) New Revision: 23632 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23632 Log: merge revision(s) 22812: * file.c: include fcntl.h for O_RDONLY on Solaris. Modified files: branches/ruby_1_8_7/ChangeLog branches/ruby_1_8_7/file.c branches/ruby_1_8_7/version.h Index: ruby_1_8_7/ChangeLog =================================================================== --- ruby_1_8_7/ChangeLog (revision 23631) +++ ruby_1_8_7/ChangeLog (revision 23632) @@ -1,3 +1,7 @@ +Wed Jun 3 21:16:30 2009 Tanaka Akira <akr@f...> + + * file.c: include fcntl.h for O_RDONLY on Solaris. + Wed Jun 3 21:09:56 2009 Nobuyoshi Nakada <nobu@r...> * util.c (rv_strdup): macro to duplicate nul-terminated string. Index: ruby_1_8_7/version.h =================================================================== --- ruby_1_8_7/version.h (revision 23631) +++ ruby_1_8_7/version.h (revision 23632) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2009-06-03" #define RUBY_VERSION_CODE 187 #define RUBY_RELEASE_CODE 20090603 -#define RUBY_PATCHLEVEL 170 +#define RUBY_PATCHLEVEL 171 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 Index: ruby_1_8_7/file.c =================================================================== --- ruby_1_8_7/file.c (revision 23631) +++ ruby_1_8_7/file.c (revision 23632) @@ -68,6 +68,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/