[ruby-cvs:71455] normal:r64363 (trunk): webrick/httpauth/htgroup.rb (flush): avoid unnecessary unlink

normal at ruby-lang.org normal at ruby-lang.org
Wed Aug 15 08:00:02 JST 2018


normal	2018-08-15 08:00:02 +0900 (Wed, 15 Aug 2018)

  New Revision: 64363

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

  Log:
    webrick/httpauth/htgroup.rb (flush): avoid unnecessary unlink
    
    Based on patch by akr [ruby-core:88477], use Tempfile.create
    to avoid unnecessary unlink call.  Unlike akr's original patch,
    this does not change the return value of flush.
    
    Thanks-to: Tanaka Akira <akr at fsij.org>

  Modified files:
    trunk/lib/webrick/httpauth/htgroup.rb


More information about the ruby-cvs mailing list