diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-05 04:04:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-05 04:04:26 +0000 |
commit | 4be0eb95cf92f40d68918b8f7f50e7367bff4aec (patch) | |
tree | 7c01378b21d5f680697c0fcc93612ae85d119009 /ruby.c | |
parent | 8702c4d0d73a050e0d2181e16bf1e0688d6322f0 (diff) | |
download | ruby-4be0eb95cf92f40d68918b8f7f50e7367bff4aec.tar.gz |
* 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
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |