[ruby-cvs:54436] nobu:r47288 (trunk): io.c: do not swallow exceptions at end of block

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Aug 26 17:12:50 JST 2014


nobu	2014-08-26 17:12:48 +0900 (Tue, 26 Aug 2014)

  New Revision: 47288

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

  Log:
    io.c: do not swallow exceptions at end of block
    
    * io.c (io_close): ignore only "closed stream" IOError and
      NoMethodError, do not swallow other exceptions at the end of
      block.  [ruby-core:64463] [Bug #10153]

  Modified files:
    trunk/ChangeLog
    trunk/io.c
    trunk/test/ruby/test_io.rb


More information about the ruby-cvs mailing list