[Top][All Lists]

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

Re: Bug in latest install-sh

From: Stepan Kasal
Subject: Re: Bug in latest install-sh
Date: Tue, 1 Nov 2005 07:14:58 +0100
User-agent: Mutt/1.4.1i

  thank you for your bug report.

On Mon, Oct 31, 2005 at 04:21:31PM -0800, Kean Johnston wrote:
> There is a bug in teh latest install-sh that is in m4 1.4.4.

This is the latest install-sh in the Automake CVS.
So this bug report belongs to bug-automake, where I'm forwarding it.

> It uses 'trap - 0' to restore the trap. Using 'trap -' is
> a bash-ism and not portable. The works-everywhere syntax is
> simply to use 'trap 0'. Attached is a patch.

I looked at POSIX, and 'trap - 0' is standardized, while 'trap 0' is not.

The Autoconf manual doesn't mention this protability problem; would you
be so kind to provide details about your setup (which OS, which shell, and
its versions)?  I'd like to add the info to the manual.  (Ccing to
bug-autoconf, too.)

If "trap - 0" doesn't work on your system, would "trap '' 0" work?
Or perhaps "trap : 0"?

Have a nice day,

reply via email to

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