make the MMap Grow Error a fatal one as while in theory the code should
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 26 Jun 2010 16:42:42 +0000 (18:42 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 26 Jun 2010 16:42:42 +0000 (18:42 +0200)
never segfault it still tend to do it so better show it directly

apt-pkg/contrib/mmap.cc

index d233e51..d710662 100644 (file)
@@ -297,7 +297,7 @@ unsigned long DynamicMMap::RawAllocate(unsigned long Size,unsigned long Aln)
    {
       if(!Grow())
       {
-        _error->Error(_("Dynamic MMap ran out of room. Please increase the size "
+        _error->Fatal(_("Dynamic MMap ran out of room. Please increase the size "
                         "of APT::Cache-Limit. Current value: %lu. (man 5 apt.conf)"), WorkSpace);
         return 0;
       }