public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b8c8a
)
changed __bad_assertion(), it now uses fputs()
author
eck
<none@none>
Tue, 3 Apr 1990 15:01:58 +0000
(15:01 +0000)
committer
eck
<none@none>
Tue, 3 Apr 1990 15:01:58 +0000
(15:01 +0000)
lang/cem/libcc.ansi/assert/assert.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc.ansi/assert/assert.c
b/lang/cem/libcc.ansi/assert/assert.c
index
fb88c39
..
3dab83b
100644
(file)
--- a/
lang/cem/libcc.ansi/assert/assert.c
+++ b/
lang/cem/libcc.ansi/assert/assert.c
@@
-7,9
+7,8
@@
#include <stdio.h>
#include <stdlib.h>
-void __bad_assertion(const char *
expr, const char *file, int line
) {
+void __bad_assertion(const char *
mess
) {
- fprintf(stderr,"Assertion \"%s\" failed, file \"%s\", line %d\n",
- expr, file, line);
+ fputs(mess, stderr);
abort();
}