]> git.saurik.com Git - apt.git/blobdiff - ftparchive/cachedb.cc
merged r1811 from lp:~donkult/apt/experimenal
[apt.git] / ftparchive / cachedb.cc
index 8a4ca023669361e32d23b25a8638be551a77c03d..ff9a92d3264f2f78013893949e9ce944e1c07945 100644 (file)
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
-#ifdef __GNUG__
-#pragma implementation "cachedb.h"
-#endif
-
 #include "cachedb.h"
 
 #include <apti18n.h>
@@ -467,6 +463,7 @@ bool CacheDB::Clean()
       
       Cursor->c_del(Cursor,0);
    }
+   Dbp->compact(Dbp, NULL, NULL, NULL, NULL, DB_FREE_SPACE, NULL);
 
    return true;
 }