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
@ -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>
|
Tue Oct 11 16:45:24 2016 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* lib/uri/generic.rb (URI.find_proxy): Add an optional argument, env.
|
* 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;
|
fp->mode = fmode;
|
||||||
if (!io_check_tty(fp)) {
|
if (!io_check_tty(fp)) {
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
fp->fmode |= FMODE_BINMODE;
|
fp->mode |= FMODE_BINMODE;
|
||||||
setmode(fd, O_BINARY);
|
setmode(fd, O_BINARY);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user