Преглед изворни кода

Flush stdout after trace messages (#2465)

This immediately shows log messages when stdout is not connected to a
tty.
pull/2467/head
Daniel Nagy пре 3 година
committed by GitHub
родитељ
комит
19f88241ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 0 уклоњено
  1. +1
    -0
      src/utils.c

+ 1
- 0
src/utils.c Прегледај датотеку

@ -148,6 +148,7 @@ void TraceLog(int logType, const char *text, ...)
strcat(buffer, text);
strcat(buffer, "\n");
vprintf(buffer, args);
fflush(stdout);
#endif
va_end(args);

Loading…
Откажи
Сачувај