err/log: Stop closing stderr and stdout during shutdown
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.
changes/bug33087
0 → 100644
Please register or sign in to comment