mirror of
https://github.com/tmate-io/tmate.git
synced 2026-08-01 15:20:02 +00:00
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
This commit is contained in:
parent
e0929262db
commit
a3612a5472
1 changed files with 1 additions and 1 deletions
2
log.c
2
log.c
|
|
@ -45,7 +45,7 @@ log_open(const char *path)
|
|||
if (log_file == NULL)
|
||||
return;
|
||||
|
||||
setlinebuf(log_file);
|
||||
setvbuf(log_file, NULL, _IOLBF, 0);
|
||||
event_set_log_callback(log_event_cb);
|
||||
|
||||
tzset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue