1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ruby.c (proc_options): no need for intermediate object.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-01-05 04:04:26 +00:00
parent 8702c4d0d7
commit 4be0eb95cf
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sat Jan 5 13:04:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (proc_options): no need for intermediate object.
Sat Jan 5 11:48:19 2008 Tanaka Akira <akr@fsij.org>
* encoding.c (Init_Encoding): alias csWindows31J to Windows-31J.

2
ruby.c
View file

@ -694,7 +694,7 @@ proc_options(int argc, char **argv, struct cmdline_options *opt)
case 'F':
if (*++s) {
rb_fs = rb_reg_new_str(rb_str_new2(s), 0);
rb_fs = rb_reg_new(s, strlen(s), 0);
}
break;