Przeglądaj źródła

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 16 lat temu
rodzic
commit
5afa55c670
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
       }