Hello,

* Paul Eggert wrote on Wed, Apr 29, 2009 at 09:47:19PM CEST:
[
  $ ( trap "echo foo" 0; :; true )
  $ ( trap "echo foo" 0; true; : )
  foo
]
>
>>  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.

Happens on Solaris 10 as well.  With zsh 4.3.6 (on several systems),
even in "emulate sh" mode, none of the above produced output, neither
when "true" is replaced by a non-builtin.  Neither with bsh on AIX 5.3,
but of course nobody uses bsh.  Neither with /bin/sh on Tru64.

Cheers,
Ralf


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

Reply via email to