This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: bin/preprocess -- .diff files


Given how many .diff files Tom has added to our web pages ;-), this patch,
which treats .diff files as first class citizens, should make debugging
the preprocessing script simpler by avoiding the default case (which
issues a warning).

At least it helped me :-)

Installed.

Gerald

Index: preprocess
===================================================================
RCS file: /cvs/gcc/wwwdocs/bin/preprocess,v
retrieving revision 1.33
diff -u -3 -p -r1.33 preprocess
--- preprocess	28 Oct 2002 18:42:13 -0000	1.33
+++ preprocess	28 Oct 2002 19:09:55 -0000
@@ -110,10 +110,10 @@ process_file()
     case $f in
         */CVS|*/\.cvsignore)
             ;;
-        *\.txt|*\.ps|*\.ps\.gz|*\.pdf|*\.jpg|*\.jpeg|*\.png|*\.patch)
+        *\.htaccess|*\.htpasswd)
             copy_if_different $f $DESTTREE/$f
             ;;
-        *\.htaccess|*\.htpasswd)
+        *\.txt|*\.ps|*\.ps\.gz|*\.pdf|*\.jpg|*\.jpeg|*\.png|*\.patch|*\.diff)
             copy_if_different $f $DESTTREE/$f
             ;;
         *\.html)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]