diff --git a/ChangeLog b/ChangeLog index 20ca57dfcd..71186e22da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 4 00:26:27 2008 NAKAMURA Usaku + + * io.c (make_writeconv): follow akr's previous commit. + Thu Sep 4 00:09:05 2008 Tanaka Akira * include/ruby/encoding.h (rb_econv_option_t): removed. Since diff --git a/io.c b/io.c index ab213057e0..b2d46628fb 100644 --- a/io.c +++ b/io.c @@ -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;