Patch for gcc_release

Joseph S. Myers jsm@polyomino.org.uk
Thu May 13 00:36:00 GMT 2004


The 3.3 snapshot run just failed
<http://gcc.gnu.org/ml/gccadmin/2004-q2/msg00093.html> because an upgraded
version of diff (I assume) rejected the -3 option.  This option never did
more than confirm a default, so can safely be omitted.  I'll apply this
patch to mainline when unfrozen (it should perhaps go on release branches
as well; branch release scripts are used to run releases from those
branches and it would save surprises if the RMs happen to upgrade diff).

(Paul Eggert did submit a patch for this two years ago, but any question
of fixing those scripts that _can_ assume POSIX or indeed GNU utilities to
work with the strict POSIX-2001 modes has always been lost up in the
general discussions of the brokenness of those modes and the need to
support pre-POSIX-1992 systems.  
<http://gcc.gnu.org/ml/gcc-bugs/2002-02/msg00540.html>.)

2004-05-13  Joseph S. Myers  <jsm@polyomino.org.uk>

	* gcc_release (DIFF): Remove -3 option.

Index: gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.52
diff -u -r1.52 gcc_release
--- gcc_release	19 Apr 2004 21:48:46 -0000	1.52
+++ gcc_release	12 May 2004 23:01:20 -0000
@@ -518,7 +518,7 @@
 
 BZIP2="${BZIP2:-bzip2}"
 CVS="${CVS:-cvs -f -Q -z9}"
-DIFF="${DIFF:-diff -Nrc3pad}"
+DIFF="${DIFF:-diff -Nrcpad}"
 ENV="${ENV:-env}"
 GZIP="${GZIP:-gzip --best}"
 SCP="${SCP:-scp -p}"

-- 
Joseph S. Myers
jsm@polyomino.org.uk



More information about the Gcc-patches mailing list