From 446924cbb790016c293e13f4022fa0faf8f6d2c9 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 11 Oct 2016 13:08:27 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ io.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 65e7899efb..394a79901d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 11 22:08:24 2016 Nobuyoshi Nakada + + * io.c (prep_io): fix typo of struct member name. + [ruby-core:77550] [Bug #12829] + Tue Oct 11 16:45:24 2016 Tanaka Akira * lib/uri/generic.rb (URI.find_proxy): Add an optional argument, env. diff --git a/io.c b/io.c index 17ec6baa81..35f6fb699b 100644 --- a/io.c +++ b/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 }