* 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:
parent
56343375b8
commit
71e00fd061
@ -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>
|
Thu Sep 4 00:09:05 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* include/ruby/encoding.h (rb_econv_option_t): removed. Since
|
* include/ruby/encoding.h (rb_econv_option_t): removed. Since
|
||||||
|
2
io.c
2
io.c
@ -711,7 +711,7 @@ make_writeconv(rb_io_t *fptr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (NEED_NEWLINE_ENCODER(fptr))
|
if (NEED_NEWLINE_ENCODER(fptr))
|
||||||
fptr->writeconv_pre_opts.flags |= TEXTMODE_NEWLINE_ENCODER;
|
fptr->writeconv_pre_flags |= TEXTMODE_NEWLINE_ENCODER;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enc = fptr->encs.enc2 ? fptr->encs.enc2 : fptr->encs.enc;
|
enc = fptr->encs.enc2 ? fptr->encs.enc2 : fptr->encs.enc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user