diff options
| author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-22 22:44:06 +0000 |
|---|---|---|
| committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-22 22:44:06 +0000 |
| commit | 8a233ea67b20910c6fc3429d6c30c628c1650255 (patch) | |
| tree | c35d07a1b344a18f3db240d142953824b3f4682f /spec/ruby/language | |
| parent | fc0a92aba0704a66c2239f59e04131f66c379e34 (diff) | |
io.c: revalidate fptr->fd after rb_io_wait_readable
fptr->fd may become -1 while GVL is released in
rb_wait_for_single_fd, so we must check it after reacquiring
GVL. This should avoid EBADF errors exposed by making pipes
non-blocking by default:
http://ci.rvm.jp/results/trunk-test@ruby-sky3/1473710
[Bug #14968]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/language')
0 files changed, 0 insertions, 0 deletions
