From 1beec4c47675c9f7cf57eb0d1993f406ffeb839d Mon Sep 17 00:00:00 2001 From: shyouhei Date: Sat, 26 May 2007 20:35:44 +0000 Subject: [PATCH] * runruby.rb: eliminate uninitialized variable. [ruby-core:11255] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ runruby.rb | 7 +------ version.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index ff4efcf41c..49d9c4d144 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun May 27 05:24:56 2007 URABE Shyouhei + + * runruby.rb: eliminate uninitialized variable. + [ruby-core:11255] + Sun May 27 05:19:03 2007 URABE Shyouhei * 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) diff --git a/version.h b/version.h index 7ce1cfd464..6946acca4a 100644 --- a/version.h +++ b/version.h @@ -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