mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 21:08:13 +02:00
When sync'ing logfile, also flush it.
When the logfile is set to sync, the actual sync occurs whenever the log file is flushed. If the log file is not also set to flush, no syncing occurs.
This commit is contained in:
parent
031b009ea6
commit
881a620b4d
1 changed files with 1 additions and 0 deletions
|
|
@ -988,6 +988,7 @@ configServerFlags(XF86ConfFlagsPtr flagsconf, XF86OptionPtr layoutopts)
|
|||
} else if (!xf86NameCmp(s,"sync")) {
|
||||
xf86Msg(X_CONFIG, "Syncing logfile enabled\n");
|
||||
xf86Info.log = LogSync;
|
||||
LogSetParameter(XLOG_FLUSH, TRUE);
|
||||
LogSetParameter(XLOG_SYNC, TRUE);
|
||||
} else {
|
||||
xf86Msg(X_WARNING,"Unknown Log option\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue