chiark
/
gitweb
/
~ian
/
moebius2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better machinery; before make view interpolate-compatible
[moebius2.git]
/
common.c
diff --git
a/common.c
b/common.c
index 34381e890494a489c95e0161856dccdc598a6ce6..62b981efa930fd19bbb3eab3bb94dd0ba0d14d69 100644
(file)
--- a/
common.c
+++ b/
common.c
@@
-61,4
+61,5
@@
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 flushoutput(void) { if (fflush(stdout)||ferror(stdout)) diee("stdout"); }