ruby-changes:13758
From: naruse <ko1@a...>
Date: Thu, 29 Oct 2009 04:43:17 +0900 (JST)
Subject: [ruby-changes:13758] Ruby:r25554 (trunk): * io.c (Init_IO): rb_default_rs should be US-ASCII.
naruse 2009-10-29 04:42:53 +0900 (Thu, 29 Oct 2009) New Revision: 25554 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25554 Log: * io.c (Init_IO): rb_default_rs should be US-ASCII. Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 25553) +++ ChangeLog (revision 25554) @@ -1,3 +1,7 @@ +Thu Oct 29 04:40:36 2009 NARUSE, Yui <naruse@r...> + + * io.c (Init_IO): rb_default_rs should be US-ASCII. + Thu Oct 29 01:22:01 2009 Yutaka Kanemoto <kanemoto@r...> * ext/socket/extconf.rb : Compilation failure on AIX. Index: io.c =================================================================== --- io.c (revision 25553) +++ io.c (revision 25554) @@ -9692,7 +9692,7 @@ rb_output_fs = Qnil; rb_define_hooked_variable("$,", &rb_output_fs, 0, rb_str_setter); - rb_rs = rb_default_rs = rb_str_new2("\n"); + rb_rs = rb_default_rs = rb_usascii_str_new2("\n"); rb_gc_register_mark_object(rb_default_rs); rb_output_rs = Qnil; OBJ_FREEZE(rb_default_rs); /* avoid modifying RS_default */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/