summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-07-26 01:11:53 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-07-26 01:11:53 +0200
commita67de73e4b66d67eeafe5d8c1f7fd5b031faeb3f (patch)
tree5acaa15c497752ef522534c335f34d7f4cab347b
parent4b2de6720d65c9e7a2cfded0da7d04d758a8e1e2 (diff)
merge with lp:apt/debian-sid
Remove a bug (= an evil amok running if) introduced by the merge in 1817 which cause a segfault in the destructor for the dynamic mmap.
-rw-r--r--apt-pkg/contrib/mmap.cc2
-rw-r--r--po/apt-all.pot2
2 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/mmap.cc b/apt-pkg/contrib/mmap.cc
index 917466c2f..aa52b4c30 100644
--- a/apt-pkg/contrib/mmap.cc
+++ b/apt-pkg/contrib/mmap.cc
@@ -201,7 +201,7 @@ DynamicMMap::~DynamicMMap()
if (Fd == 0)
{
#ifdef _POSIX_MAPPED_FILES
- if(munmap(Base, WorkSpace) < 0)
+ munmap(Base, WorkSpace);
#else
delete [] (unsigned char *)Base;
#endif
diff --git a/po/apt-all.pot b/po/apt-all.pot
index c2cd5e9d7..a18646290 100644
--- a/po/apt-all.pot
+++ b/po/apt-all.pot
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-07-21 18:36+0200\n"
+"POT-Creation-Date: 2009-07-26 01:10+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"