public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1168232
)
call abort() only when NDEBUG is not defined
author
ceriel
<none@none>
Fri, 25 Feb 1994 14:01:54 +0000
(14:01 +0000)
committer
ceriel
<none@none>
Fri, 25 Feb 1994 14:01:54 +0000
(14:01 +0000)
util/opt/util.c
patch
|
blob
|
history
diff --git
a/util/opt/util.c
b/util/opt/util.c
index
ae412b1
..
71a56ed
100644
(file)
--- a/
util/opt/util.c
+++ b/
util/opt/util.c
@@
-29,7
+29,9
@@
error(s,a) char *s,*a; {
fprintf(stderr,": ");
fprintf(stderr,s,a);
fprintf(stderr,"\n");
+#ifndef NDEBUG
abort();
+#endif
exit(-1);
}