summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-13 16:24:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-13 16:24:40 +0000
commit51308528f2e9d7df96d789855d5a0447181a1666 (patch)
tree90feca1478de2d69c61421f16a73f0180e4dc763
parentada8110f7ffd38eb0309b3a9561c1ed993021aca (diff)
* io.c (next_argv): not always set binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--io.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c1f2ca..c29458e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jan 14 01:21:32 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+
+ * io.c (next_argv): not always set binmode.
+
Mon Jan 13 02:22:11 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* ext/dl/lib/dl/win32.rb: elimitate unnecessary "A" adding.
diff --git a/io.c b/io.c
index 7381fe1..fe3b0ed 100644
--- a/io.c
+++ b/io.c
@@ -2889,7 +2889,7 @@ next_argv()
int defout_binmode = 0;
GetOpenFile(rb_defout, fptr);
- if (fptr->mode | FMODE_BINMODE)
+ if (fptr->mode & FMODE_BINMODE)
defout_binmode = 1;
if (init_p == 0) {