mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -05:00
win32 doesn't support line buffering with setvbuf() properly, so for win32
lets just set it to no-buffering for logs. svn path=/trunk/log/; revision=4381
This commit is contained in:
parent
de873ff693
commit
72ad409e7a
@ -103,7 +103,7 @@ int log_open(const char *filename)
|
||||
ret = log_open_file(file);
|
||||
|
||||
if(ret >= 0)
|
||||
setvbuf(file, NULL, _IOLBF, 0);
|
||||
setvbuf(file, NULL, IO_BUFFER_TYPE, 0);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user