1 Nov 2005 01:21
Bug in latest install-sh
Kean Johnston <jkj <at> sco.com>
2005-11-01 00:21:31 GMT
2005-11-01 00:21:31 GMT
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
<at> <at> -389,7 +389,7 <at> <at> do
}
} || exit 1
- trap - 0
+ trap 0
fi
done
_______________________________________________ Bug-m4 mailing list Bug-m4 <at> gnu.org http://lists.gnu.org/mailman/listinfo/bug-m4(Continue reading)
RSS Feed