Subject: Re: PR 6010 (most fatal errors in pkg_install progs are unreachable)
To: Hubert Feyrer <hubert.feyrer@rrzc1.rz.uni-regensburg.de>
From: Jim Bernard <jbernard@ox.mines.edu>
List: tech-pkg
Date: 08/24/1998 06:31:56
On 8 24, Hubert Feyrer wrote:
>
> looking at PR 6010, I wonder why the cleanup() in delete/perform.c
> shouldn't account for being used as signal handler as well (similar to
> the other cleanup()-functions), and exit() in that case. Something like
>
> cleanup()
> {
> if (signo)
> exit(1);
> else
> return;
> }
>
> (Besides this looks good to me)
Well, I was tempted to do that for consistency, but didn't because it
is _not_ used as a signal handler in delete.