autoconf
[Top][All Lists]
Advanced

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

Re: Portability problems in autoconf manual


From: Ralf Wildenhues
Subject: Re: Portability problems in autoconf manual
Date: Thu, 30 Apr 2009 07:34:18 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]