diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 09:40:53 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 09:40:53 +0000 |
| commit | 0cea933bf19f1c7e04fbde4fb07928a81925dd10 (patch) | |
| tree | 2eacded47311ff8f5a88de783a334481155a0c7c /win32 | |
| parent | a968bd2efb93595c625ca124d3b6f18f525f5814 (diff) | |
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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 345fcdd15..5d79dd17b 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -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); |
