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@13434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-09-12 14:17:33 +00:00
parent 3b91a5dc33
commit 1232fd4a9b
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (proc_options): -W should be allowed in RUBYOPT
environment variable. [ruby-core:12118]
Mon Sep 10 01:05:25 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

@ -1,7 +1,7 @@
#define RUBY_VERSION "1.8.6"
#define RUBY_RELEASE_DATE "2007-09-10"
#define RUBY_RELEASE_DATE "2007-09-12"
#define RUBY_VERSION_CODE 186
#define RUBY_RELEASE_CODE 20070910
#define RUBY_RELEASE_CODE 20070912
#define RUBY_PATCHLEVEL 5000
#define RUBY_VERSION_MAJOR 1
@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 6
#define RUBY_RELEASE_YEAR 2007
#define RUBY_RELEASE_MONTH 9
#define RUBY_RELEASE_DAY 10
#define RUBY_RELEASE_DAY 12
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];