diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-08 05:50:43 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-08 05:50:43 +0000 |
| commit | 1b79efbb3945e59fb784a0ca23587e8ec5644777 (patch) | |
| tree | 2f420a89d92b22aaf98462ea78cc1bf2dd74cec4 | |
| parent | ce19ae0ef0f830ad1781568abd097b9fb7ec0169 (diff) | |
* ChangeLog: commit miss of r33662.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -3,6 +3,26 @@ Tue Nov 8 11:01:04 2011 NARUSE, Yui <naruse@ruby-lang.org> * 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@ruby-lang.org> + + * 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@fsij.org> * ext/gdbm/gdbm.c (fgdbm_initialize): set close-on-exec flag. |
