From: Jay Freeman (saurik) Date: Wed, 22 Apr 2009 01:02:26 +0000 (+0000) Subject: Checkpointing APT notes and fixed a minor error issue in new memory map code. X-Git-Url: https://git.saurik.com/apt-legacy.git/commitdiff_plain/260efb63877eb53c620f5cb07e48bd8ae2f16e23 Checkpointing APT notes and fixed a minor error issue in new memory map code. M mmap.diff git-svn-id: http://svn.telesphoreo.org/trunk@600 514c082c-b64e-11dc-b46d-3d985efe055d --- diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc index de73c53..7ef5df3 100644 --- a/apt-pkg/tagfile.cc +++ b/apt-pkg/tagfile.cc @@ -32,6 +32,7 @@ pkgTagFile::pkgTagFile(FileFd *pFd,unsigned long Size) : { if (Fd.IsOpen() == false || Fd.Size() == 0) { + _error->Discard(); Map = NULL; Buffer = 0; Start = End = Buffer = 0;