diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-22 12:32:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-22 12:32:15 +0000 |
commit | 730d8f1d326a62d86e41faa0482f9a3c329832cb (patch) | |
tree | 8c599c9581c76016b6a5125c2ad005fb423fe5e9 /ruby.c | |
parent | f625a175027e037aa49536e156e73c6e3212f1cc (diff) | |
download | ruby-730d8f1d326a62d86e41faa0482f9a3c329832cb.tar.gz |
* ruby.c (proc_options): -T consumes digits only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -558,10 +558,11 @@ proc_options(argc, argv) if (*++s) { v = scan_oct(s, 2, &numlen); if (numlen == 0) v = 1; + s += numlen; } rb_set_safe_level(v); } - break; + goto reswitch; case 'I': forbid_setid("-I"); |