mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io.c: fix typo
* io.c (prep_io): fix typo of struct member name. [ruby-core:77550] [Bug #12829] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ab0740838
commit
446924cbb7
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Oct 11 22:08:24 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (prep_io): fix typo of struct member name.
|
||||
[ruby-core:77550] [Bug #12829]
|
||||
|
||||
Tue Oct 11 16:45:24 2016 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lib/uri/generic.rb (URI.find_proxy): Add an optional argument, env.
|
||||
|
|
2
io.c
2
io.c
|
@ -7375,7 +7375,7 @@ prep_io(int fd, int fmode, VALUE klass, const char *path)
|
|||
fp->mode = fmode;
|
||||
if (!io_check_tty(fp)) {
|
||||
#ifdef __CYGWIN__
|
||||
fp->fmode |= FMODE_BINMODE;
|
||||
fp->mode |= FMODE_BINMODE;
|
||||
setmode(fd, O_BINARY);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue