summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-11 13:08:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-11 13:08:27 +0000
commit446924cbb790016c293e13f4022fa0faf8f6d2c9 (patch)
treef9a5bec00cb92f1c03fff6588aa3ebfed7ed4580 /io.c
parent1ab0740838a5ff69ca6762817c9167cd1be741a5 (diff)
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
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
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
}