]> git.saurik.com Git - apt-legacy.git/commitdiff
Checkpointing APT notes and fixed a minor error issue in new memory map code.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 22 Apr 2009 01:02:26 +0000 (01:02 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 22 Apr 2009 01:02:26 +0000 (01:02 +0000)
M mmap.diff

git-svn-id: http://svn.telesphoreo.org/trunk@600 514c082c-b64e-11dc-b46d-3d985efe055d

apt-pkg/tagfile.cc

index de73c53932abfac73ebc5c3de669fcd8f7f59e3a..7ef5df38e808ab5f03ebb957bf23ddc63a738612 100644 (file)
@@ -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;