Re: Portability problems in autoconf manual

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It seems that 'trap 1 2 13 15' (without any command) reset the traps in a reasonably portable way,

I'm afraid not.  For example, on Ubuntu 9.04:

$ dash
!-penguin $ trap 1 2
!-penguin $ kill -2 $$
dash: 1: not found

It's hard to argue that this is a bug, since POSIX requires this behavior.

Better it would be to say: "On Solaris 9, /bin/sh may not execute a trap on exit if the trap is defined in a parenthesised sub-shell."

Yes, that sounds more accurate.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux