зеркало из https://github.com/github/ruby.git
* lib/mkmf.rb (Logging.postpone): copy only when tmporary logfile
exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
baf2eff25e
Коммит
9a7d41ae19
|
@ -1,3 +1,8 @@
|
|||
Thu May 12 14:47:53 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (Logging.postpone): copy only when tmporary logfile
|
||||
exists.
|
||||
|
||||
Thu May 12 12:24:22 2011 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||
|
||||
* ext/openssl/ossl_ssl.c: By trunk@31346, function check of SSLv2 is executed.
|
||||
|
|
|
@ -284,7 +284,7 @@ module Logging
|
|||
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче