Skip to content

Commit 0a6ed42

Browse files
unaksorah
authored andcommitted
* thread.c (rb_thread_fd_close): unintentionally removed at r58094.
rb_thread_fd_close is unintentionally removed in 2.3.4. Related commits are r57948,r57949,r57950 in trunk. To remove ABI change, forward-port the recovery commit in ruby_2_2. https://twitter.com/nalsh/status/851061221285445632 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 6576526 commit 0a6ed42

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

thread.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2187,6 +2187,12 @@ rb_notify_fd_close(int fd)
21872187
return busy;
21882188
}
21892189

2190+
void
2191+
rb_thread_fd_close(int fd)
2192+
{
2193+
while (rb_notify_fd_close(fd));
2194+
}
2195+
21902196
/*
21912197
* call-seq:
21922198
* thr.raise

0 commit comments

Comments
 (0)