1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-27 20:27:45 +00:00

Add extern declaration for "flushing", a flag to enable/disable calls to fflush(stdout)

after each call to printf() in the debug/tracing code.  Too frequent calls slow things down.

	modified:   inc/dbprint.h
	modified:   src/main.c
This commit is contained in:
Nick Briggs
2017-06-14 17:53:13 -07:00
parent 467d33d913
commit ef3fbc29fc
2 changed files with 11 additions and 5 deletions

View File

@@ -273,6 +273,8 @@ int Lisp_Xinitialized = FALSE;
char sysout_name[1024]; /* Set by read_Xoption, in the X version. */
int sysout_size = 0; /* ditto */
int flushing = FALSE; /* see dbprint.h if set, all debug/trace printing will call fflush(stdout) after each printf */
#if defined(DOS) || defined(XWINDOW)
#include "devif.h"
extern DspInterface currentdsp;