Re: trap / kill
Manoj Srivastava <srivasta@debian.org> writes:
> I would not have minded trying to fix 179 packages to use signal
> names rather than numbers; but if Autoconf and Libtool use numbers,
> then the problem grows larger.
>
> Mind you, XSI extensions allow the use of numbers instead of
> names for a limited set of signals, so if we allow XSI extensions, I
> think we'll be fine.
I think recent discussion on the libtool list revealed that libtool used
numbers for one of the signals that XSI doesn't allow you to use signals
for (SIGPIPE, I think it was, but I didn't go check).
Ironically, libtool uses numbers rather than names for portability; older
shells don't support names.
> I would certainly be more comfortable if we stick to POSIX
> (including XSI) rather than just accepting any old number in trap.
We discussed including all of XSI, but there's a pile of other stuff in
XSI that I think we decided that dash didn't actually implement. I don't
remember the details, though.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: