Skip to content

Commit 38117a8

Browse files
committed
merge revision(s) r48854: [Backport ruby#10494]
* test/lib/test/unit.rb: Also rescue EINVAL for older Linux that raises it in popen. [Bug ruby#10494] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 9ee867c commit 38117a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/test/unit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def terminal_width
394394
begin
395395
require 'io/console'
396396
width = $stdout.winsize[1]
397-
rescue LoadError, NoMethodError, Errno::ENOTTY, Errno::EBADF
397+
rescue LoadError, NoMethodError, Errno::ENOTTY, Errno::EBADF, Errno::EINVAL
398398
width = ENV["COLUMNS"].to_i.nonzero? || 80
399399
end
400400
width -= 1 if /mswin|mingw/ =~ RUBY_PLATFORM

version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#define RUBY_VERSION "2.1.5"
2-
#define RUBY_RELEASE_DATE "2015-03-09"
3-
#define RUBY_PATCHLEVEL 309
2+
#define RUBY_RELEASE_DATE "2015-03-10"
3+
#define RUBY_PATCHLEVEL 310
44

55
#define RUBY_RELEASE_YEAR 2015
66
#define RUBY_RELEASE_MONTH 3
7-
#define RUBY_RELEASE_DAY 9
7+
#define RUBY_RELEASE_DAY 10
88

99
#include "ruby/version.h"
1010

0 commit comments

Comments
 (0)