> Thanks. Given that Paul approved it, I'll apply it, but I confess I
> don't understand this part of the patch. Paul, could you explain it
> to me? In fact it seems wrong to me.
>
> --- autoconf.sh.orig Wed Aug 9 13:06:15 2000
> +++ autoconf.sh Thu Aug 10 17:09:46 2000
> @@ -234,7 +234,7 @@
> $debug ||
> {
> trap 'status=$?; rm -rf $tmp && exit $status' 0
> - trap 'exit $?' 1 2 13 15
> + trap '(exit $?); exit' 1 2 13 15
In looking at this again, it looks as if the original intent was to exit
with the status of the last command when the signals 1, 2, 13, or 15 are
taken. This will then cause execute EXIT (0) trap command. The goal
was to provide the correct status there given the various shell problems.
Possibly `(exit $?); exit' could be simplified to just `exit'.
The signals being trapped are SIGHUP, SIGINT, SIGPIPE and SIGTERM under
hpux. Is this what is desired?
Dave
--
J. David Anglin [EMAIL PROTECTED]
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)