This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: bin/preprocess -- .diff files
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Mon, 28 Oct 2002 20:19:41 +0100 (CET)
- Subject: 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)