chiark
/
gitweb
/
~ian
/
moebius2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge multiprocessor support; fix up Makefile runes
[moebius2.git]
/
common.c
diff --git
a/common.c
b/common.c
index cc72ed3341dfd9f8c2f56cf82259e7fcaf3a899d..3b036aaa29f54508a5708a1965347734dc5cfa5e 100644
(file)
--- a/
common.c
+++ b/
common.c
@@
-82,4
+82,4
@@
void gsldie(int l, const char *what, int status) {
void diee(const char *what) { perror(what); exit(16); }
void fail(const char *emsg) { fputs(emsg,stderr); exit(12); }
void diee(const char *what) { perror(what); exit(16); }
void fail(const char *emsg) { fputs(emsg,stderr); exit(12); }
-void flushoutput(void) { if (f
flush(stdout)||ferror
(stdout)) diee("stdout"); }
+void flushoutput(void) { if (f
error(stdout)||fflush
(stdout)) diee("stdout"); }