diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-06-09 17:41:52 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-06-09 17:41:52 +0200 |
commit | b90d7d855709c49a6d5faff0ac65b96fd15e4500 (patch) | |
tree | eeadbae34dfc4c00a7a5788681af7e47a3e082ad /apt-pkg/tagfile.cc | |
parent | 48d59831802223d7a18571dc31b880fa21032d59 (diff) | |
parent | 5a732c04cb9f74b2a2bb5702068b17a460e86a64 (diff) |
* merged with bubulle
Diffstat (limited to 'apt-pkg/tagfile.cc')
-rw-r--r-- | apt-pkg/tagfile.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc index 9763d96a3..79ff18de4 100644 --- a/apt-pkg/tagfile.cc +++ b/apt-pkg/tagfile.cc @@ -98,6 +98,7 @@ bool pkgTagFile::Jump(pkgTagSection &Tag,unsigned long Offset) iOffset = Offset; Start = Buffer + iOffset; + // Start != End is a special case to not fail on empty TagFiles if (Start != End && Tag.Scan(Start,End - Start) == false) return _error->Error(_("Unable to parse package file %s (2)"),Fd.Name().c_str()); |