ruby-changes:21580
From: usa <ko1@a...>
Date: Fri, 4 Nov 2011 04:06:54 +0900 (JST)
Subject: [ruby-changes:21580] usa:r33629 (trunk): * io.c (make_writeconv): fixed typo of previous commit.
usa 2011-11-04 04:06:43 +0900 (Fri, 04 Nov 2011) New Revision: 33629 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33629 Log: * io.c (make_writeconv): fixed typo of previous commit. Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 33628) +++ io.c (revision 33629) @@ -911,9 +911,10 @@ #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_UNIVERSAL_NEWLINE_DECORATOR))) { ecflags &= ~ECONV_UNIVERSAL_NEWLINE_DECORATOR; ecflags |= TEXTMODE_NEWLINE_DECORATOR_ON_WRITE; + } #endif if (!fptr->encs.enc || (fptr->encs.enc == rb_ascii8bit_encoding() && !fptr->encs.enc2)) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/