use pkgTagFile to parse "header" of Release files
authorDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 7 Aug 2013 14:45:49 +0000 (16:45 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 8 Aug 2013 13:23:56 +0000 (15:23 +0200)
commite9737c7f6a3e03b2975927ef9b04c1194026ed9c
tree69246f876a604d9eeb14bb6ec0f37b0c6beaa811
parent91c4cc14d3654636edf997d23852f05ad3de4853
use pkgTagFile to parse "header" of Release files

The handwritten parsing here was mostly done as we couldn't trust the
Release file we got, but nowadays we are sure that the Release file is
valid and contains just a single section we want it to include.

Beside reducing code it also fixes a bug: Fieldnames in deb822 formatted
files are case-insensitive and pkgTagFile does it correctly, but this
selfbuilt stuff here didn't.
apt-pkg/deb/deblistparser.cc