bug-global
[Top][All Lists]
Advanced

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

Re: [PATCH] htags does not delete cash files


From: Shigio Yamaguchi
Subject: Re: [PATCH] htags does not delete cash files
Date: Sun, 11 May 2003 09:56:12 +0900

Fixed. Thank you!

> When dbmopen() makes database file without suffix, htags does not delete cash
 files.
> 
> Index: htags/htags.in
> ===================================================================
> RCS file: /cvsroot/global/global/htags/htags.in,v
> retrieving revision 1.119
> diff -u -r1.119 htags.in
> --- htags/htags.in    6 May 2003 16:57:31 -0000       1.119
> +++ htags/htags.in    10 May 2003 19:42:33 -0000
> @@ -2768,14 +2768,14 @@
>  sub close {
>       if ($GTAGS) {
>               dbmclose(%GTAGS);
> -             unlink("$GTAGS.db", "$GTAGS.pag", "$GTAGS.dir");
> +             unlink("$GTAGS", "$GTAGS.db", "$GTAGS.pag", "$GTAGS.dir");
>       }
>       if ($GRTAGS) {
>               dbmclose(%GRTAGS);
> -             unlink("$GRTAGS.db", "$GRTAGS.pag", "$GRTAGS.dir");
> +             unlink("$GRTAGS", "$GRTAGS.db", "$GRTAGS.pag", "$GRTAGS.dir");
>       }
>       if ($GSYMS) {
>               dbmclose(%GSYMS);
> -             unlink("$GSYMS.db", "$GSYMS.pag", "$GSYMS.dir");
> +             unlink("$GSYMS", "$GSYMS.db", "$GSYMS.pag", "$GSYMS.dir");
>       }
>  }
> 
> ----
> 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]