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

Andreas Metzler ametzler at
Sat Mar 3 11:10:31 CET 2007


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.

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