[ruby-cvs:52981] akr:r45835 (trunk): * lib/open-uri.rb (OpenURI.open_uri): Call StringIO#close only if

akr at ruby-lang.org akr at ruby-lang.org
Tue May 6 01:38:54 JST 2014


akr	2014-05-06 01:38:53 +0900 (Tue, 06 May 2014)

  New Revision: 45835

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

  Log:
    * lib/open-uri.rb (OpenURI.open_uri): Call StringIO#close only if
      the StringIO object is not closed yet.
      Reported by Jordi Massaguer Pla.  [ruby-core:42538] [Bug #6010]

  Modified files:
    trunk/ChangeLog
    trunk/lib/open-uri.rb
    trunk/test/open-uri/test_open-uri.rb


More information about the ruby-cvs mailing list