bug-global
[Top][All Lists]
Advanced

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

[PATCH] htags does not delete cash files


From: Hideki IWAMOTO
Subject: [PATCH] htags does not delete cash files
Date: Sun, 11 May 2003 05:00:50 +0900

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





reply via email to

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