* contrib/mmap.cc:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 13 May 2010 13:20:07 +0000 (15:20 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 13 May 2010 13:20:07 +0000 (15:20 +0200)
  - clarify "MMap reached size limit" error message, thanks Ivan Masár!

apt-pkg/contrib/mmap.cc
debian/changelog

index b3f2903..d233e51 100644 (file)
@@ -392,8 +392,8 @@ unsigned long DynamicMMap::WriteString(const char *String,
    the nearly impossible 4 to grow it before it finally give up: Never say never. */
 bool DynamicMMap::Grow() {
        if (Limit != 0 && WorkSpace >= Limit)
-               return _error->Error(_("The size of a MMap has already reached the defined limit of %lu bytes,"
-                                      "abort the try to grow the MMap."), Limit);
+               return _error->Error(_("Unable to increase the size of the MMap as the "
+                                      "limit of %lu bytes is already reached."), Limit);
 
        unsigned long const newSize = WorkSpace + 1024*1024;
 
index a328c1e..8a6424e 100644 (file)
@@ -10,15 +10,17 @@ apt (0.7.26~exp5) UNRELEASED; urgency=low
     - use the patchfile modification time instead of the one from the
       "old" file - thanks to Philipp Weis for noticing! (Closes: #571541)
   * debian/rules:
-    - remove targets refering to CVS or arch as they are useless
+    - remove targets referring to CVS or arch as they are useless
   * apt-pkg/depcache.cc:
     - be doublesure that the killer query is empty before starting reinstall
   * methods/gpgv.cc:
     - remove the keyrings count limit by using vector magic
+  * contrib/mmap.cc:
+    - clarify "MMap reached size limit" error message, thanks Ivan Masár!
 
   [ Jari Aalto ]
   * debian/rules:
-    - spell out some less known options to reduce manpage consulation-rate
+    - spell out some less known options to reduce manpage consultation-rate
     - Use POSIX command substitution: $(<command sequence>)
     - Remove EOL whitespace (Closes: #577804)