Преглед изворни кода

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 година
родитељ
комит
5afa55c670
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
       }