projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0870b75
)
[project @ 1997-03-14 03:14:25 by sof]
author
sof
<unknown>
Fri, 14 Mar 1997 03:14:53 +0000
(
03:14
+0000)
committer
sof
<unknown>
Fri, 14 Mar 1997 03:14:53 +0000
(
03:14
+0000)
Flush output stream
ghc/runtime/hooks/ErrorHdr.lc
patch
|
blob
|
history
ghc/runtime/hooks/PatErrorHdr.lc
patch
|
blob
|
history
diff --git
a/ghc/runtime/hooks/ErrorHdr.lc
b/ghc/runtime/hooks/ErrorHdr.lc
index
d71a3a9
..
3c04fec
100644
(file)
--- a/
ghc/runtime/hooks/ErrorHdr.lc
+++ b/
ghc/runtime/hooks/ErrorHdr.lc
@@
-4,6
+4,8
@@
void
ErrorHdrHook (FILE *where)
{
+ fflush( stdout ); /* Flush out any pending output */
+
fprintf(where, "\nFail: ");
}
\end{code}
diff --git
a/ghc/runtime/hooks/PatErrorHdr.lc
b/ghc/runtime/hooks/PatErrorHdr.lc
index
5e175a4
..
2382049
100644
(file)
--- a/
ghc/runtime/hooks/PatErrorHdr.lc
+++ b/
ghc/runtime/hooks/PatErrorHdr.lc
@@
-4,6
+4,8
@@
void
PatErrorHdrHook (FILE *where)
{
+ fflush( stdout ); /* Flush out any pending output */
+
fprintf(where, "\nFail: ");
}
\end{code}