Skip to content
Snippets Groups Projects
Commit d381aa46 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

Fix an evil bug: when we failed to write to our log, fputs()

gave us a sigpipe, and we logged that we were ignoring it,
causing us to fail to log that, and delete the log entry. Then
when the signal handler exited, we proceeded to delete the log
entry that had already been deleted.

Now we make sure to only log inside our signal handler if we'll
be exit()ing right after.


svn:r2388
parent 25beea22
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment