* io.c (make_writeconv): follow akr's previous commit.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2008-09-03 15:27:12 +00:00
parent 56343375b8
commit 71e00fd061
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Thu Sep 4 00:26:27 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (make_writeconv): follow akr's previous commit.
Thu Sep 4 00:09:05 2008 Tanaka Akira <akr@fsij.org>
* include/ruby/encoding.h (rb_econv_option_t): removed. Since

2
io.c
View File

@ -711,7 +711,7 @@ make_writeconv(rb_io_t *fptr)
}
if (NEED_NEWLINE_ENCODER(fptr))
fptr->writeconv_pre_opts.flags |= TEXTMODE_NEWLINE_ENCODER;
fptr->writeconv_pre_flags |= TEXTMODE_NEWLINE_ENCODER;
#endif
enc = fptr->encs.enc2 ? fptr->encs.enc2 : fptr->encs.enc;