diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-08 04:57:59 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-08 04:57:59 +0000 |
| commit | def28ff263e935b87a272cd9b817f4a5e400799d (patch) | |
| tree | f3cc0dd35ff3cc4f55c6dacbf1621c4e94dd273a | |
| parent | 51132c07015c36333eaa9d0142667f68880290ba (diff) | |
| download | ruby-def28ff263e935b87a272cd9b817f4a5e400799d.tar.gz ruby-def28ff263e935b87a272cd9b817f4a5e400799d.tar.xz ruby-def28ff263e935b87a272cd9b817f4a5e400799d.zip | |
* lib/mkmf.rb (Logging.postpone): copy postponed output always.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | lib/mkmf.rb | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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> diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 04bdbdf4a..63c6007c3 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -273,9 +273,9 @@ module Logging @log, @logfile, @orgout, @orgerr = nil, tmplog, log, log begin log.print(open {yield}) + ensure @log.close File::open(tmplog) {|t| FileUtils.copy_stream(t, log)} - ensure @log, @logfile, @orgout, @orgerr = log, *save @postpone -= 1 rm_f tmplog |
