mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
3d1ef3b6f8
Closing these file descriptors can hide sanitiser logs. Instead, flush the logs before tor exits, using fsync(). Some Windows environments don't have fsync(), so we check for it at compile time. Fixes bug 33087; bugfix on 0.4.1.6.
8 lines
381 B
Plaintext
8 lines
381 B
Plaintext
o Minor bugfixes (logging):
|
|
- Stop closing stderr and stdout during shutdown. Closing these file
|
|
descriptors can hide sanitiser logs.
|
|
Fixes bug 33087; bugfix on 0.4.1.6.
|
|
- Flush stderr, stdout, and file logs during shutdown, if supported by the
|
|
OS. This change helps make sure that any final logs are recorded.
|
|
Fixes bug 33087; bugfix on 0.4.1.6.
|