mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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/trunk@24253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
375ccf82c7
commit
87487a8c8a
2 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
||||
Thu Jul 23 08:53:24 2009 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rdoc/markup/simple_markup/: Remove useless directory.
|
||||
|
|
|
@ -4472,7 +4472,7 @@ rb_w32_open(const char *file, int oflag, ...)
|
|||
pmode = va_arg(arg, int);
|
||||
va_end(arg);
|
||||
|
||||
if ((oflag & O_TEXT) || !(oflag & ~O_BINARY)) {
|
||||
if ((oflag & O_TEXT) || !(oflag & O_BINARY)) {
|
||||
return _open(file, oflag, pmode);
|
||||
}
|
||||
|
||||
|
@ -4501,7 +4501,7 @@ rb_w32_wopen(const WCHAR *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);
|
||||
|
|
Loading…
Reference in a new issue