* lib/mkmf.rb (Logging.postpone): copy postponed output always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0b05fc5a85
commit
64be577b53
@ -1,6 +1,6 @@
|
|||||||
Wed Apr 8 11:46:26 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed Apr 8 13:57:56 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/mkmf.rb (what_type?): fixed typo.
|
* lib/mkmf.rb (Logging.postpone): copy postponed output always.
|
||||||
|
|
||||||
Wed Apr 8 09:45:58 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed Apr 8 09:45:58 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
@ -273,9 +273,9 @@ module Logging
|
|||||||
@log, @logfile, @orgout, @orgerr = nil, tmplog, log, log
|
@log, @logfile, @orgout, @orgerr = nil, tmplog, log, log
|
||||||
begin
|
begin
|
||||||
log.print(open {yield})
|
log.print(open {yield})
|
||||||
|
ensure
|
||||||
@log.close
|
@log.close
|
||||||
File::open(tmplog) {|t| FileUtils.copy_stream(t, log)}
|
File::open(tmplog) {|t| FileUtils.copy_stream(t, log)}
|
||||||
ensure
|
|
||||||
@log, @logfile, @orgout, @orgerr = log, *save
|
@log, @logfile, @orgout, @orgerr = log, *save
|
||||||
@postpone -= 1
|
@postpone -= 1
|
||||||
rm_f tmplog
|
rm_f tmplog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user