[ruby-cvs:56814] nobu:r49664 (trunk): file.c: fix handle leak

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Feb 20 17:27:15 JST 2015


nobu	2015-02-20 17:27:14 +0900 (Fri, 20 Feb 2015)

  New Revision: 49664

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

  Log:
    file.c: fix handle leak
    
    * file.c (rb_file_identical_p): fix handle leak, ensure to close
      the handle of the first argument.

  Modified files:
    trunk/ChangeLog
    trunk/file.c
    trunk/test/ruby/test_file_exhaustive.rb


More information about the ruby-cvs mailing list