mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-10-01 05:55:15 +00:00
Avoid deadlock in log rotation
This commit is contained in:
parent
05633d4b0e
commit
0625084602
@ -74,7 +74,7 @@ static void _log_rotate(bool performRotation) {
|
|||||||
|
|
||||||
logSiz = lseek(logFd, 0L, SEEK_END);
|
logSiz = lseek(logFd, 0L, SEEK_END);
|
||||||
|
|
||||||
log_outputString("-------------------------------------------------------------------------------");
|
//log_outputString("-------------------------------------------------------------------------------"); -- do not write to logfile here unless lock is recursive
|
||||||
|
|
||||||
FREE(logPath);
|
FREE(logPath);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user