diff --git a/ChangeLog b/ChangeLog index 4a923e1c46..0578f69dba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 8 10:50:11 2012 Naohisa Goto + + * test/ruby/test_rubyoptions.rb (test_script_from_stdin): slave pty + should be manipulated because master pty may not be a tty on some + environment (e.g. Solaris). [Bug:#5222] [ruby-dev:44420] + Wed Feb 8 10:38:36 2012 Nobuyoshi Nakada * Makefile.in (CFLAGS): append ARCH_FLAG. diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 4fb26111ba..339999a17e 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -514,7 +514,7 @@ class TestRubyOptions < Test::Unit::TestCase IO.pipe {|r, w| begin PTY.open {|m, s| - m.echo = false + s.echo = false m.print("\C-d") pid = spawn(EnvUtil.rubybin, :in => s, :out => w) w.close @@ -530,7 +530,7 @@ class TestRubyOptions < Test::Unit::TestCase assert_equal("", result, '[ruby-dev:37798]') IO.pipe {|r, w| PTY.open {|m, s| - m.echo = false + s.echo = false pid = spawn(EnvUtil.rubybin, :in => s, :out => w) w.close m.print("$stdin.read; p $stdin.gets\n\C-d") diff --git a/version.h b/version.h index 3b42b04e04..9dcfddc331 100644 --- a/version.h +++ b/version.h @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 58 +#define RUBY_PATCHLEVEL 59 #define RUBY_RELEASE_DATE "2012-02-08" #define RUBY_RELEASE_YEAR 2012