bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] conver &<> in line image of CGI output


From: Shigio Yamaguchi
Subject: Re: [PATCH] conver &<> in line image of CGI output
Date: Wed, 07 May 2003 01:57:32 +0900

Fixed. Thank you!

> 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/&/&amp;/g;
> +     s/</&lt;/g;
> +     s/>/&gt;/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
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
Spare mail address: <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]