Subject: Re: Sane exit from a program on receipt of a signal
To: Christos Zoulas <christos@zoulas.com>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-userlevel
Date: 09/25/2007 11:20:27
--hxkXGo8AKqTJ+9QI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
  |=20
  | | 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=
al
  | |   | 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.
  | |=20
  | | How's this?
  |=20
  | Looks good to me. I would only cast the result of memset() to (void)
  | to shut-up lint.

Fixed.


Code committed.  libutil is now at 7.15.

--hxkXGo8AKqTJ+9QI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFG+GJbpBhtmn8zJHIRAmK+AJ991vNQ6zmkkPHIJpWBNubmmYeCowCdHebw
kK8f3pb3qzsZiuz7sPGsEg0=
=5W+6
-----END PGP SIGNATURE-----

--hxkXGo8AKqTJ+9QI--