diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-08 09:49:12 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-08 09:49:12 +0000 |
commit | e2374e94ac236f35b19dd94db6de62123ae23e70 (patch) | |
tree | 6d09c9830ffb606a2735c6e5127eaab2889b0857 /init.c | |
parent | 79f33c0fd827e8df431f0fcbf2c9c86e1807cc19 (diff) |
Make the debug file access unbuffered. Important if we are
debugging crashes.
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |