diff options
author | Michael Vogt <egon@bottom> | 2006-06-09 17:49:10 +0200 |
---|---|---|
committer | Michael Vogt <egon@bottom> | 2006-06-09 17:49:10 +0200 |
commit | 3fd130fb87f03b372bd3a892b3c843799c56c9c6 (patch) | |
tree | 95342e9f6d056a43ea6b608fa7914c8a9e8be67f /apt-pkg/tagfile.cc | |
parent | ab1bdcf7fb907555ee2c42430eaed51feba6910c (diff) | |
parent | b90d7d855709c49a6d5faff0ac65b96fd15e4500 (diff) |
* merged with mainline
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 426174eb1..25e2930fa 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()); |