diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-03 18:45:41 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-03 18:45:41 +0000 |
commit | 102ec1171d94df9def66214dee1387a5f266dee9 (patch) | |
tree | ea3caf1cfcfd3c04049adbdb146e2f8e57ff84b5 | |
parent | 932d63efe08fc0d2a69ea81676508a62a2c981b2 (diff) | |
download | ruby-102ec1171d94df9def66214dee1387a5f266dee9.tar.gz |
* io.c (make_writeconv): fixed typo of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Fri Nov 4 03:45:22 2011 NAKAMURA Usaku <usa@ruby-lang.org> + + * io.c (make_writeconv): fixed typo of previous commit. + Fri Nov 4 01:56:30 2011 NAKAMURA Usaku <usa@ruby-lang.org> * io.c (make_writeconv): unversal_newline converter is for reading. @@ -910,8 +910,8 @@ make_writeconv(rb_io_t *fptr) ecopts = fptr->encs.ecopts; #ifdef TEXTMODE_NEWLINE_DECORATOR_ON_WRITE if (NEED_NEWLINE_DECORATOR_ON_WRITE(fptr) && - (!(ecflags & ECONV_NEWLINE_DECORATOR_MASK)) || - (ecflags & ECONV_UNIVERSAL_NEWLINE_DECORATOR)) + (!(ecflags & ECONV_NEWLINE_DECORATOR_MASK) || + (ecflags & ECONV_UNIVERSAL_NEWLINE_DECORATOR))) ecflags &= ~ECONV_UNIVERSAL_NEWLINE_DECORATOR; ecflags |= TEXTMODE_NEWLINE_DECORATOR_ON_WRITE; #endif |