[前][次][番号順一覧][スレッド一覧]

ruby-changes:37365

From: usa <ko1@a...>
Date: Fri, 30 Jan 2015 16:18:21 +0900 (JST)
Subject: [ruby-changes:37365] usa:r49446 (ruby_2_0_0): merge revision(s) 48854: [Backport #10494]

usa	2015-01-30 16:18:15 +0900 (Fri, 30 Jan 2015)

  New Revision: 49446

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49446

  Log:
    merge revision(s) 48854: [Backport #10494]
    
    * test/lib/test/unit.rb: Also rescue EINVAL for older Linux that
      raises it in popen. [Bug #10494]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/lib/test/unit.rb
    branches/ruby_2_0_0/version.h
Index: ruby_2_0_0/lib/test/unit.rb
===================================================================
--- ruby_2_0_0/lib/test/unit.rb	(revision 49445)
+++ ruby_2_0_0/lib/test/unit.rb	(revision 49446)
@@ -388,7 +388,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/lib/test/unit.rb#L388
           begin
             require 'io/console'
             width = $stdout.winsize[1]
-          rescue LoadError, NoMethodError, Errno::ENOTTY, Errno::EBADF
+          rescue LoadError, NoMethodError, Errno::ENOTTY, Errno::EBADF, Errno::EINVAL
             width = ENV["COLUMNS"].to_i.nonzero? || 80
           end
           width -= 1 if /mswin|mingw/ =~ RUBY_PLATFORM
Index: ruby_2_0_0/version.h
===================================================================
--- ruby_2_0_0/version.h	(revision 49445)
+++ ruby_2_0_0/version.h	(revision 49446)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1
 #define RUBY_VERSION "2.0.0"
 #define RUBY_RELEASE_DATE "2015-01-30"
-#define RUBY_PATCHLEVEL 626
+#define RUBY_PATCHLEVEL 627
 
 #define RUBY_RELEASE_YEAR 2015
 #define RUBY_RELEASE_MONTH 1

Property changes on: ruby_2_0_0
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r48854


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]