diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-10 06:22:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-10 06:22:30 +0000 |
commit | c1e8d4c0f95d5eb88314a45bab9bbb0ed3dbb426 (patch) | |
tree | 4f9388417afcdfe816be26a1dafa354128865606 /ChangeLog | |
parent | 20f197dd23f544f6008d28eac7c65959f39a92d9 (diff) | |
download | ruby-c1e8d4c0f95d5eb88314a45bab9bbb0ed3dbb426.tar.gz |
ruby.c: bind fd before waiting
* ruby.c (open_load_file): bind the open fd to an IO instance
before waiting FIFO, not to leak the fd if interrupted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Mon Oct 10 15:22:27 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ruby.c (open_load_file): bind the open fd to an IO instance + before waiting FIFO, not to leak the fd if interrupted. + Mon Oct 10 12:40:54 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> * ruby.c (open_load_file): compare with EXEEXT instead of hard |