[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] conver &<> in line image of CGI output
From: |
Hideki IWAMOTO |
Subject: |
[PATCH] conver &<> in line image of CGI output |
Date: |
Wed, 07 May 2003 01:22:22 +0900 |
The result of grep search looks as follows.
[current cvs version]
ctype
Following patterns are matched to above pattern.
--------------------------------------------------------------------------------
ctype 25 gctags/C.c #include
ctype 25 gctags/Cpp.c #include
ctype 25 gctags/assembler.c #include
ctype 25 gctags/java.c #include
ctype 29 global/global.c #include
[patched version]
ctype
Following patterns are matched to above pattern.
--------------------------------------------------------------------------------
ctype 25 gctags/C.c #include <ctype.h>
ctype 25 gctags/Cpp.c #include <ctype.h>
ctype 25 gctags/assembler.c #include <ctype.h>
ctype 25 gctags/java.c #include <ctype.h>
ctype 29 global/global.c #include <ctype.h>
Index: htags/htags.in
===================================================================
RCS file: /cvsroot/global/global/htags/htags.in,v
retrieving revision 1.118
diff -u -r1.118 htags.in
--- htags/htags.in 6 May 2003 15:06:02 -0000 1.118
+++ htags/htags.in 6 May 2003 16:11:53 -0000
@@ -1188,6 +1188,9 @@
while (<PIPE>) {
$cnt++;
($tag, $lno, $filename) = split;
+ s/&/&/g;
+ s/</</g;
+ s/>/>/g;
# " ./$filename " is replaced with file number by gtags --convert.
s!($tag)!<A HREF=$htmlbase/S/ ./$filename address@hidden@#$lno>$1<\/A>!;
print PIPEOUT;
----
Hideki IWAMOTO address@hidden
- [PATCH] conver &<> in line image of CGI output,
Hideki IWAMOTO <=