diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-18 10:30:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-18 10:30:36 +0000 |
commit | 0a933cf3d4d6d82bfa69a53639acb55771d83ff6 (patch) | |
tree | ce9be02886d53941f0d25d248e9c940bd2ab2734 /sample | |
parent | 903c0f55e97e73bbd78ad81251be6d923c8ccf15 (diff) | |
download | ruby-0a933cf3d4d6d82bfa69a53639acb55771d83ff6.tar.gz |
nonblock.c: just yield if the flag is not changed
* ext/io/nonblock/nonblock.c (io_nonblock_set): return whether
nonblock flag was changed.
* ext/io/nonblock/nonblock.c (rb_io_nonblock_block): nothing to
restore but just yield unless nonblock flag is changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
0 files changed, 0 insertions, 0 deletions