Is invoking exit(2) in a library the right thing to do?

Andreas Metzler ametzler at downhill.at.eu.org
Sat Mar 3 11:10:31 CET 2007


Hej,

currently log_fatal() ends up invoking exit(2). Is this really the
right thing to do? It does not give applications using libgcrypt any
chance to sanely handle fatal errors afaiui, for example by falling
back on non-tls mode.

http://bugs.debian.org/412328

thanks, cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Gcrypt-devel mailing list