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

Bug#120311: [patch] bug fix



Hello,
	I have fix the bug #120311.
	Here is the patch :

--- apt-0.5.4-orig/cmdline/apt-cache.cc Mon Jul  2 02:10:32 2001
+++ apt-0.5.4/cmdline/apt-cache.cc      Thu Dec 20 02:01:57 2001
@@ -1383,11 +1383,14 @@
         pkgCache Cache(Map);
         GCache = &Cache;
         if (_error->PendingError() == false)
            CmdL.DispatchArg(CmdsB);
       }
+      if (_config->FindB("APT::Cache::Generate",true) == false)
+       {
       delete Map;
+       }
    }

    // Print any errors or warnings found during parsing
    if (_error->empty() == false)
    {

--
Julien LEMOINE / SpeedBlue
Epita Student



Reply to: