ruby-changes:4635
From: ko1@a...
Date: Tue, 22 Apr 2008 09:58:23 +0900 (JST)
Subject: [ruby-changes:4635] usa - Ruby:r16129 (trunk): * file.c (eaccess): workaround for recent msvcrt's behavior.
usa 2008-04-22 09:58:04 +0900 (Tue, 22 Apr 2008) New Revision: 16129 Modified files: trunk/ChangeLog trunk/file.c trunk/version.h Log: * file.c (eaccess): workaround for recent msvcrt's behavior. [ruby-core:16460] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=16129&r2=16128&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/file.c?r1=16129&r2=16128&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16129&r2=16128&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 16128) +++ ChangeLog (revision 16129) @@ -1,3 +1,8 @@ +Tue Apr 22 09:56:51 2008 NAKAMURA Usaku <usa@r...> + + * file.c (eaccess): workaround for recent msvcrt's behavior. + [ruby-core:16460] + Mon Apr 21 19:08:32 2008 Tanaka Akira <akr@f...> * io.c (copy_stream_body): call rb_io_check_readable and Index: version.h =================================================================== --- version.h (revision 16128) +++ version.h (revision 16129) @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2008-04-21" +#define RUBY_RELEASE_DATE "2008-04-22" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20080421 +#define RUBY_RELEASE_CODE 20080422 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 4 -#define RUBY_RELEASE_DAY 21 +#define RUBY_RELEASE_DAY 22 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; Index: file.c =================================================================== --- file.c (revision 16128) +++ file.c (revision 16129) @@ -944,8 +944,8 @@ return -1; #else -# if _MSC_VER >= 1400 - mode &= 6; +# if defined(_MSC_VER) || defined(__MINGW32__) + mode &= ~1; # endif return access(path, mode); #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/