Avoid I/O buffering when using the checking malloc
authorceriel <none@none>
Mon, 19 Jun 1989 11:10:58 +0000 (11:10 +0000)
committerceriel <none@none>
Mon, 19 Jun 1989 11:10:58 +0000 (11:10 +0000)
modules/src/malloc/check.c

index c33836c..4a5225c 100644 (file)
@@ -287,6 +287,7 @@ check_work_empty(s) char *s;        {
 
 public int
 Error(fmt, s, ml) char *fmt, *s; mallink *ml;  {
+       setbuf(stdout, (char *) 0);
        printf("%s: ", s);
        printf(fmt, (long)ml);
        printf("\n");