[ruby-cvs:68590] normal:r61409 (trunk): webrick/httpservelet/cgi_runner: avoid IO#reopen on pathname

normal at ruby-lang.org normal at ruby-lang.org
Fri Dec 22 14:59:11 JST 2017


normal	2017-12-22 14:59:11 +0900 (Fri, 22 Dec 2017)

  New Revision: 61409

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

  Log:
    webrick/httpservelet/cgi_runner: avoid IO#reopen on pathname
    
    IO#reopen seems to behave strangely on Win32 based on the logs
    posted by Greg for [Bug #14420].  Lets try to fix the issue by
    using File.open explicitly (but not Kernel#open).
    
    * lib/webrick/httpservelet/cgi_runner: use File.open explicitly
      [Bug #14220]

  Modified files:
    trunk/lib/webrick/httpservlet/cgi_runner.rb


More information about the ruby-cvs mailing list