bug-m4
[Top][All Lists]
Advanced

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

Bug in latest install-sh


From: Kean Johnston
Subject: Bug in latest install-sh
Date: Mon, 31 Oct 2005 16:21:31 -0800
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

There is a bug in teh latest install-sh that is in m4 1.4.4.
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.

Kean
Index: install-sh
===================================================================
RCS file: /cvs/opensrc/gnutools/m4/install-sh,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 install-sh
--- install-sh  28 Oct 2005 05:20:39 -0000      1.1.1.1
+++ install-sh  1 Nov 2005 00:17:35 -0000
@@ -389,7 +389,7 @@ do
         }
     } || exit 1
 
-    trap - 0
+    trap 0
   fi
 done
 

reply via email to

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