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:
f4c9109
)
In ghc-inplace, flush stdout after giving debugging output
author
Ian Lynagh
<igloo@earth.li>
Fri, 24 Aug 2007 13:27:02 +0000
(13:27 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 24 Aug 2007 13:27:02 +0000
(13:27 +0000)
compiler/ghc-inplace.c
patch
|
blob
|
history
diff --git
a/compiler/ghc-inplace.c
b/compiler/ghc-inplace.c
index
83f6834
..
2e345bc
100644
(file)
--- a/
compiler/ghc-inplace.c
+++ b/
compiler/ghc-inplace.c
@@
-36,6
+36,7
@@
int main(int argc, char **argv) {
args[2] = "-fhardwire-lib-paths";
if ((argc >= 2) && (strcmp(argv[1], "-v") == 0)) {
printf("Using %s %s %s\n", args[0], args[1], args[2]);
+ fflush(stdout);
}
memcpy(args + 3, argv + 1, sizeof(char *) * (argc - 1));
args[argc+2] = NULL;