merges r24253 from trunk into ruby_1_9_1.

--
	* win32/win32.c (rb_w32_{open,wopen}): fixed typos. these conditions
	  mean to call runtime's open() if textmode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2009-12-05 09:40:53 +00:00
parent 35d07e3fe8
commit 6fba2e0f01
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Jul 23 14:35:02 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_{open,wopen}): fixed typos. these conditions
mean to call runtime's open() if textmode.
Fri Sep 25 16:01:45 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c, include/ruby/win32.h (rb_w32_access): new function to

View file

@ -1,5 +1,5 @@
#define RUBY_VERSION "1.9.1"
#define RUBY_PATCHLEVEL 371
#define RUBY_PATCHLEVEL 372
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 9
#define RUBY_VERSION_TEENY 1

View file

@ -4074,7 +4074,7 @@ rb_w32_open(const char *file, int oflag, ...)
SECURITY_ATTRIBUTES sec;
HANDLE h;
if ((oflag & O_TEXT) || !(oflag & ~O_BINARY)) {
if ((oflag & O_TEXT) || !(oflag & O_BINARY)) {
va_list arg;
int pmode;
va_start(arg, oflag);