]> git.ipfire.org Git - thirdparty/tor.git/commit
log: Don't close file log fds that are being used by the err module
authorteor <teor@torproject.org>
Wed, 4 Sep 2019 05:38:58 +0000 (15:38 +1000)
committerteor <teor@torproject.org>
Mon, 9 Sep 2019 04:56:28 +0000 (14:56 +1000)
commita22fbab98690f802ae3bda276078cc7fc767feba
treee6624fc08796d4da73c39be845cc4d1ef5847c13
parentd02ced4cafaed5b11079585f03f47e73034dd980
log: Don't close file log fds that are being used by the err module

Instead, dup() file log fds, before passing them to the err module.

Closes 31613, part of 31594.
src/lib/err/torerr.c
src/lib/log/log.c