Revision bf65f53f exec.c
b/exec.c | ||
---|---|---|
1491 | 1491 |
static char logfile_buf[4096]; |
1492 | 1492 |
setvbuf(logfile, logfile_buf, _IOLBF, sizeof(logfile_buf)); |
1493 | 1493 |
} |
1494 |
#else |
|
1494 |
#elif !defined(_WIN32) |
|
1495 |
/* Win32 doesn't support line-buffering and requires size >= 2 */ |
|
1495 | 1496 |
setvbuf(logfile, NULL, _IOLBF, 0); |
1496 | 1497 |
#endif |
1497 | 1498 |
log_append = 1; |
Also available in: Unified diff