[ruby-cvs:57679] nobu:r50531 (trunk): nonblock.c: just yield if the flag is not changed

nobu at ruby-lang.org nobu at ruby-lang.org
Mon May 18 19:30:37 JST 2015


nobu	2015-05-18 19:30:36 +0900 (Mon, 18 May 2015)

  New Revision: 50531

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50531

  Log:
    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.

  Modified files:
    trunk/ext/io/nonblock/nonblock.c


More information about the ruby-cvs mailing list