[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf/231: config/missing makeinfo emulation can createaribtrary
From: |
scott douglass |
Subject: |
Re: autoconf/231: config/missing makeinfo emulation can createaribtrary files that prevent building |
Date: |
Tue, 11 Feb 2003 10:41:37 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126 |
http%3A%2F%2Fbugs.gnu.org%2Fcgi-bin%2Fgnatsweb.pl%3Fcmd%3Dview%2520audit-trail%26database%3Dautoconf%26pr%3D231
My suggested fix to this problem report is not good because it doesn't handle
the no file argument case gracefully. (The original code also mismandled this
case.) Here's a better fix:
--- sed-4.0.5/config/missing 2002-09-29 17:33:25.000000000 +0100
+++ sed-4.0.5/config/missing.new 2003-02-07 12:28:39.000000000 +0000
@@ -276,8 +276,8 @@
the \`GNU make' package. Grab either from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
- file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '/address@hidden/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
+ file=`echo "$*" | sed 's/-[^ ]*//g s/.* \([^ ]*\) *$/\1/'`
+ test -n "$file" && file=`sed -n '/address@hidden/ { s/.* \([^ ]*\)
*$/\1/; p; q; }' $file`
fi
touch $file
;;
[I don't have write access to GNATS or I would append this text there.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: autoconf/231: config/missing makeinfo emulation can createaribtrary files that prevent building,
scott douglass <=