diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | runruby.rb | 7 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 7 deletions
@@ -1,3 +1,8 @@ +Sun May 27 05:24:56 2007 URABE Shyouhei <shyouhei@ruby-lang.org> + + * runruby.rb: eliminate uninitialized variable. + [ruby-core:11255] + Sun May 27 05:19:03 2007 URABE Shyouhei <shyouhei@ruby-lang.org> * eval.c (mnew): call of super via a method object should work again. diff --git a/runruby.rb b/runruby.rb index 767ded6b44..cbc5e57582 100755 --- a/runruby.rb +++ b/runruby.rb @@ -41,11 +41,7 @@ config["bindir"] = abs_archdir ENV["RUBY"] = File.expand_path(ruby) ENV["PATH"] = [abs_archdir, ENV["PATH"]].compact.join(File::PATH_SEPARATOR) -if pure libs << File.expand_path("ext", srcdir) << "-" -elsif e = ENV["RUBYLIB"] - libs |= e.split(File::PATH_SEPARATOR) -end ENV["RUBYLIB"] = $:.replace(libs).join(File::PATH_SEPARATOR) libruby_so = File.join(abs_archdir, config['LIBRUBY_SO']) @@ -59,7 +55,6 @@ if File.file?(libruby_so) end cmd = [ruby] -cmd << "-rpurelib.rb" if pure +cmd << "-rpurelib.rb" cmd.concat(ARGV) -cmd.unshift(*debugger) if debugger exec(*cmd) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2007-05-23" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20070527 -#define RUBY_PATCHLEVEL 28 +#define RUBY_PATCHLEVEL 29 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |