bug-autoconf
[Top][All Lists]
Advanced

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

Re: Bug in latest install-sh


From: Eric Blake
Subject: Re: Bug in latest install-sh
Date: Wed, 02 Nov 2005 20:18:33 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Stepan Kasal on 10/31/2005 11:14 PM:
> 
> If "trap - 0" doesn't work on your system, would "trap '' 0" work?
> Or perhaps "trap : 0"?

Be aware that in general, replacing - with '' or : is wrong: POSIX
requires "trap '' 0" to ignore the signal, and "trap : 0" to execute the
(no-op) : on occurance of the signal, rather than restoring the default
behavior.  But in the special case of signal 0, doing nothing at exit
happens to be the default behavior, so if this works, we might as well
document it and fix install-sh accordingly.

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDaYGJ84KuGfSFAYARAgB2AJ9hmsMqPnqZT2QZx234aukycpsQwgCcCfVq
+YaDdY01ZOEwcUgBz4s26uQ=
=8Z/Z
-----END PGP SIGNATURE-----




reply via email to

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