Revision daf767b1 exec.c
b/exec.c | ||
---|---|---|
1603 | 1603 |
static char logfile_buf[4096]; |
1604 | 1604 |
setvbuf(logfile, logfile_buf, _IOLBF, sizeof(logfile_buf)); |
1605 | 1605 |
} |
1606 |
#elif !defined(_WIN32) |
|
1607 |
/* Win32 doesn't support line-buffering and requires size >= 2 */ |
|
1606 |
#elif defined(_WIN32) |
|
1607 |
/* Win32 doesn't support line-buffering, so use unbuffered output. */ |
|
1608 |
setvbuf(logfile, NULL, _IONBF, 0); |
|
1609 |
#else |
|
1608 | 1610 |
setvbuf(logfile, NULL, _IOLBF, 0); |
1609 | 1611 |
#endif |
1610 | 1612 |
log_append = 1; |
Also available in: Unified diff