From e2374e94ac236f35b19dd94db6de62123ae23e70 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Tue, 8 Dec 1998 09:49:12 +0000 Subject: Make the debug file access unbuffered. Important if we are debugging crashes. --- init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'init.c') diff --git a/init.c b/init.c index 1563b326..a25f388f 100644 --- a/init.c +++ b/init.c @@ -1474,6 +1474,7 @@ static void start_debug (void) if ((debugfile = safe_fopen(buf, "w")) != NULL) { t = time (0); + setbuf (debugfile, NULL); /* don't buffer the debugging output! */ fprintf (debugfile, "Mutt %s started at %s.\nDebugging at level %d.\n\n", MUTT_VERSION, asctime (localtime (&t)), debuglevel); } -- cgit v1.2.3