ruby-changes:21617
From: usa <ko1@a...>
Date: Tue, 8 Nov 2011 14:51:12 +0900 (JST)
Subject: [ruby-changes:21617] usa:r33666 (trunk): * ChangeLog: commit miss of r33662.
usa 2011-11-08 14:50:43 +0900 (Tue, 08 Nov 2011) New Revision: 33666 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33666 Log: * ChangeLog: commit miss of r33662. Modified files: trunk/ChangeLog Index: ChangeLog =================================================================== --- ChangeLog (revision 33665) +++ ChangeLog (revision 33666) @@ -3,6 +3,26 @@ * ext/pty/pty.c (get_device_once): FreeBSD's posix_openpt doesn't support O_CLOEXEC and fails if specified. +Tue Nov 8 02:36:45 2011 NAKAMURA Usaku <usa@r...> + + * include/ruby/encoding.h (ECONV_NEWLINE_DECORATOR_READ_MASK, + ECONV_NEWLINE_DECORATOR_WRITE_MASK): new macro. + + * io.c (rb_io_extract_modeenc, pipe_open, prep_stdio, argf_next_argv): + set TEXTMODE_NEWLINE_DECORATOR_ON_WRITE for textmode on creating IO + if the flag is available. + + * io.c (make_writeconv): drop decorators for reading. + + * io.c (make_readconv): drop decorators for writing. + + * io.c (do_writeconv): existing writeconv is not the condition to raise + ArgumentError. should check textmode or not. + + * test/ruby/test_io_m17n.rb + (TestIO_M17N#test_{cr,lf,crlf}_decorator_on_stdout): test above + changes. + Mon Nov 7 22:03:47 2011 Tanaka Akira <akr@f...> * ext/gdbm/gdbm.c (fgdbm_initialize): set close-on-exec flag. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/