1
0
Fork 0
mirror of git://git.psyced.org/git/psyclpc synced 2024-08-15 03:20:16 +00:00

flush stdout on each debug log message

This commit is contained in:
Nedko Arnaudov 2010-06-21 02:27:44 +03:00
parent 26af06e96a
commit 5c99ecb69a

View file

@ -1540,6 +1540,7 @@ f_debug_message (svalue_t *sp)
|| (sp->u.number & DMSG_LOGFILE)) || (sp->u.number & DMSG_LOGFILE))
fputs(pTxt, stdout); fputs(pTxt, stdout);
#endif #endif
fflush(stdout);
slen -= strlen(pTxt); slen -= strlen(pTxt);
pTxt += strlen(pTxt); pTxt += strlen(pTxt);