From da3000aa58bf6c0529d381c3a65681c2ce7d58b2 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 19 Jun 1989 11:10:58 +0000 Subject: [PATCH] Avoid I/O buffering when using the checking malloc --- modules/src/malloc/check.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/src/malloc/check.c b/modules/src/malloc/check.c index c33836c8..4a5225c2 100644 --- a/modules/src/malloc/check.c +++ b/modules/src/malloc/check.c @@ -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");