[ruby-cvs:63553] nobu:r56388 (trunk): ruby.c: bind fd before waiting

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Oct 10 15:22:31 JST 2016


nobu	2016-10-10 15:22:30 +0900 (Mon, 10 Oct 2016)

  New Revision: 56388

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

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

  Modified files:
    trunk/ChangeLog
    trunk/ruby.c
    trunk/test/ruby/test_require.rb


More information about the ruby-cvs mailing list