ruby-changes:19489
From: usa <ko1@a...>
Date: Thu, 12 May 2011 14:49:31 +0900 (JST)
Subject: [ruby-changes:19489] Ruby:r31529 (trunk): * lib/mkmf.rb (Logging.postpone): copy only when tmporary logfile
usa 2011-05-12 14:48:41 +0900 (Thu, 12 May 2011) New Revision: 31529 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31529 Log: * lib/mkmf.rb (Logging.postpone): copy only when tmporary logfile exists. Modified files: trunk/ChangeLog trunk/lib/mkmf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 31528) +++ ChangeLog (revision 31529) @@ -1,3 +1,8 @@ +Thu May 12 14:47:53 2011 NAKAMURA Usaku <usa@r...> + + * lib/mkmf.rb (Logging.postpone): copy only when tmporary logfile + exists. + Thu May 12 12:24:22 2011 Nobuhiro Iwamatsu <iwamatsu@n...> * ext/openssl/ossl_ssl.c: By trunk@31346, function check of SSLv2 is executed. Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 31528) +++ lib/mkmf.rb (revision 31529) @@ -284,7 +284,7 @@ log.print(open {yield @log}) ensure @log.close if @log and not @log.closed? - File::open(tmplog) {|t| FileUtils.copy_stream(t, log)} + File::open(tmplog) {|t| FileUtils.copy_stream(t, log)} if File.exist?(tmplog) @log, @logfile, @orgout, @orgerr = log, *save @postpone -= 1 rm_f tmplog -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/