1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_io_wait.rb: Bug #7420

* test/io/wait/test_io_wait.rb (TestIOWait#fill_pipe):
  Errno::EWOULDBLOCK may not be the same as Errno::EAGAIN.  patch by
  phasis68 (Heesob Park) at [ruby-core:49894].  [Bug #7420]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-11-29 08:11:10 +00:00
parent cf1d6730c1
commit 2f80fddadc
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Thu Nov 29 17:11:06 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/io/wait/test_io_wait.rb (TestIOWait#fill_pipe):
Errno::EWOULDBLOCK may not be the same as Errno::EAGAIN. patch by
phasis68 (Heesob Park) at [ruby-core:49894]. [Bug #7420]
Thu Nov 29 17:03:38 2012 Eric Hodel <drbrain@segment7.net>
* lib/rubygems/test_case.rb: Determine path to certificates to avoid

View file

@ -101,7 +101,7 @@ private
buf = " " * 4096
begin
written += @w.write_nonblock(buf)
rescue Errno::EAGAIN
rescue Errno::EAGAIN, Errno::EWOULDBLOCK
return written
end while true
end