From b12d8238d71d6058817b0c78839788e4fda40690 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 21 Jan 1997 08:13:40 +0000 Subject: [PATCH] [project @ 1997-01-21 08:13:40 by sof] Not quite as keen to dump interface file on stderr (-v will do it) --- ghc/driver/ghc-iface.lprl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghc/driver/ghc-iface.lprl b/ghc/driver/ghc-iface.lprl index 4fa4b8a..533d529 100644 --- a/ghc/driver/ghc-iface.lprl +++ b/ghc/driver/ghc-iface.lprl @@ -24,8 +24,8 @@ sub postprocessHiFile { local($new_hi) = "$Tmp_prefix.hi-new"; local($show_hi_diffs) = $HiDiff_flag && ! $HiOnStdout && ! $going_interactive && -f $hifile_target; -# print STDERR "*** New hi file follows...\n"; -# print STDERR `$Cat $hsc_hi`; + print STDERR "*** New hi file follows...\n" if $Verbose; + system("$Cat $hsc_hi 1>&2") if $Verbose; &constructNewHiFile($hsc_hi, $hifile_target, $new_hi, $show_hi_diffs); @@ -51,7 +51,7 @@ sub postprocessHiFile { # if we produced an interface file "no matter what", # print what we got on stderr (ToDo: honor -ohi flag) if ( $HiOnStdout ) { - print STDERR `$Cat $new_hi`; + system("$Cat $new_hi 1>&2") if $Verbose; } else { &run_something("$Cmp -s $hifile_target $new_hi || ( $Rm $hifile_target && $Cp $new_hi $hifile_target )", "Replace .$HiSuffix file, if changed"); -- 1.7.10.4