Subject: Re: Sane exit from a program on receipt of a signal
To: Christos Zoulas <firstname.lastname@example.org>
From: Luke Mewburn <lukem@NetBSD.org>
Date: 09/25/2007 11:20:27
Content-Type: text/plain; charset=us-ascii
On Mon, Sep 24, 2007 at 11:32:11AM -0400, Christos Zoulas wrote:
| On Sep 24, 1:34pm, lukem@NetBSD.org (Luke Mewburn) wrote:
| -- Subject: Re: Sane exit from a program on receipt of a signal
| | On Wed, Jul 25, 2007 at 10:36:39AM -0400, Christos Zoulas wrote:
| | | I think that it is pretty simple to cleanup so why trash the sign=
| | | disposition and mask state? And if you are going to block signals,
| | | why not block all of them with sigfillset(), instead of blocking
| | | just that one? Then you can unblock only the signal you want
| | | delivered.
| | How's this?
| Looks good to me. I would only cast the result of memset() to (void)
| to shut-up lint.
Code committed. libutil is now at 7.15.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
-----END PGP SIGNATURE-----