1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2003-01-13 16:24:40 +00:00
parent ada8110f7f
commit 51308528f2
2 changed files with 5 additions and 1 deletions

View file

@ -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.

2
io.c
View file

@ -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) {