automake-patches
[Top][All Lists]
Advanced

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

install-sh port to VMS


From: Paul Eggert
Subject: install-sh port to VMS
Date: 11 Jun 2003 10:55:33 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Today Bernard Giroud sent a VMS-related patch to autoconf-patches.
One problem he noted was that install-sh uses '#' in file names, but
POSIX does not require support for '#' and OpenVMS doesn't support it.
How about the following patch?

2003-06-11  Paul Eggert  <address@hidden>

        * lib/install.sh (dsttmp, rmtmp): Do not use '#' in file names;
        it's not guaranteed by POSIX and it doesn't work on OpenVMS.
        Bug reported by Bernard Giroud on bug-autoconf.

Index: lib/install-sh
===================================================================
RCS file: /cvs/automake/automake/lib/install-sh,v
retrieving revision 1.11
diff -p -u -r1.11 install-sh
--- lib/install-sh      9 May 2003 17:58:21 -0000       1.11
+++ lib/install-sh      11 Jun 2003 17:50:56 -0000
@@ -230,8 +230,8 @@ else
   test -z "$dstfile" && dstfile=`basename "$dst"`
 
   # Make a couple of temp file names in the proper directory.
-  dsttmp=$dstdir/#inst.$$#
-  rmtmp=$dstdir/#rm.$$#
+  dsttmp=$dstdir/_inst.$$_
+  rmtmp=$dstdir/_rm.$$_
 
   # Trap to clean up those temp files at exit.
   trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0




reply via email to

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