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): -W should be allowed in RUBYOPT

environment variable.  [ruby-core:12118]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2007-09-16 19:51:38 +00:00
parent 30e693220e
commit e0afcb07be
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Mon Sep 17 04:47:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (proc_options): -W should be allowed in RUBYOPT
environment variable. [ruby-core:12118]
Mon Sep 17 04:31:46 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_step): fixed integer overflow. [ruby-dev:31763]

2
ruby.c
View file

@ -775,7 +775,7 @@ proc_options(argc, argv)
}
}
if (!*s) break;
if (!strchr("IdvwrK", *s))
if (!strchr("IdvwWrK", *s))
rb_raise(rb_eRuntimeError, "illegal switch in RUBYOPT: -%c", *s);
s = moreswitches(s);
}

View file

@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2007-09-17"
#define RUBY_VERSION_CODE 185
#define RUBY_RELEASE_CODE 20070917
#define RUBY_PATCHLEVEL 110
#define RUBY_PATCHLEVEL 111
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8