diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-28 19:42:53 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-28 19:42:53 +0000 |
commit | ee15e6ee3b08b3348cc813a4f82abebc58fcbc31 (patch) | |
tree | 8dc9d3269bcafefffe62a5c154c887799bdcb79e /io.c | |
parent | bc97306ed425f5d018ec8f73a75c20a9600324ca (diff) | |
download | ruby-ee15e6ee3b08b3348cc813a4f82abebc58fcbc31.tar.gz |
* io.c (Init_IO): rb_default_rs should be US-ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9692,7 +9692,7 @@ Init_IO(void) 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 */ |