From c48f281b39dd6ace4571821a5a79c1874cf26b68 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 c33836c86..4a5225c2c 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"); -- 2.34.1