changed __bad_assertion(), it now uses fputs()
authoreck <none@none>
Tue, 3 Apr 1990 15:01:58 +0000 (15:01 +0000)
committereck <none@none>
Tue, 3 Apr 1990 15:01:58 +0000 (15:01 +0000)
lang/cem/libcc.ansi/assert/assert.c

index fb88c39..3dab83b 100644 (file)
@@ -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();
 }