소스 검색

Flush stdout after trace messages (#2465)

This immediately shows log messages when stdout is not connected to a
tty.
pull/2467/head
Daniel Nagy 2 년 전
committed by GitHub
부모
커밋
19f88241ec
No known key found for this signature in database GPG 키 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);

불러오는 중...
취소
저장