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

Bug #120311 and #118431



Hello,

	I have fix bug #120311 by a patch (I am not an official developper) and this 
patch (corrected by apt team) fix also bug #118431. 
How should I roceed ? merge the teo bug of send the patch to 
118431@bugs.debian.org ??

Thanx.
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 12:13:47 2001
@@ -1359,11 +1359,11 @@
    if (ttyname(STDOUT_FILENO) == 0 && _config->FindI("quiet",0) < 1)
       _config->Set("quiet","1");

    if (CmdL.DispatchArg(CmdsA,false) == false && _error->PendingError() == 
false)
    {
-      MMap *Map;
+      MMap *Map = 0;
       if (_config->FindB("APT::Cache::Generate",true) == false)
       {
         Map = new MMap(*new FileFd(_config->FindFile("Dir::Cache::pkgcache"),
                                    
FileFd::ReadOnly),MMap::Public|MMap::ReadOnly);
       }

--
Julien LEMOINE / SpeedBlue



Reply to: