diff options
| author | Jack Nagel | 2013-11-29 21:05:01 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-29 21:05:27 -0600 |
| commit | 7eab3761392d309f61d237a5c3167d87ba8265eb (patch) | |
| tree | 7abb90d2f04e16eabfc8a48db4034e67b1988735 /Library | |
| parent | 39848385dfb4599d766826decd47a3d51214ddd5 (diff) | |
| download | homebrew-7eab3761392d309f61d237a5c3167d87ba8265eb.tar.bz2 | |
Revert "FormulaInstaller: flush before closing writes."
This reverts commit 5ce8f7a3a494e1d8e812369301fd4c4a05a7d9b7.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/build.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 693b129d4..e75a6841e 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -46,7 +46,6 @@ def main rescue Exception => e unless error_pipe.nil? e.continuation = nil if ARGV.debug? - error_pipe.flush Marshal.dump(e, error_pipe) error_pipe.close exit! 1 diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 5612815e5..c0348fe51 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -371,7 +371,6 @@ class FormulaInstaller read.close exec(*args) rescue Exception => e - write.flush Marshal.dump(e, write) write.close exit! 1 @@ -379,7 +378,6 @@ class FormulaInstaller end ignore_interrupts(:quietly) do # the fork will receive the interrupt and marshall it back - write.flush write.close Process.wait data = read.read |
