On Wed, Dec 01, 2010 at 09:33:40AM -0500, Stephen Gallagher wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It is very dangerous to allow a signal handler to call exit() directly,
as it can fire in the middle of other calls that shouldn't be interrupted.
This patch turns the default signal handler for SIGINT and SIGTERM
events into a tevent signal handler which can call exit() safely, rather
than a standard interrupt handler which will sometimes occur in unsafe
places (such as quitting while a lock is held that prevents tevent's
atexit functions from running)
ACK
bye,
Sumit
- --
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkz2XL0ACgkQeiVVYja6o6MBKgCfVCAGosPMRuXGDCsdPajZXYR+
7IwAni0J+wJei/I/UCQH0uVq5CT8N5ro
=m+8r
-----END PGP SIGNATURE-----