Explorar o código

make the MMap Grow Error a fatal one as while in theory the code should
never segfault it still tend to do it so better show it directly

David Kalnischkies %!s(int64=16) %!d(string=hai) anos
pai
achega
5afa55c670
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apt-pkg/contrib/mmap.cc

+ 1 - 1
apt-pkg/contrib/mmap.cc

@@ -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;
       }