]> git.saurik.com Git - apt.git/commit - test/libapt/tagfile_test.cc
improve pkgTagSection scanning and parsing
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 10 May 2014 09:24:44 +0000 (11:24 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 10 May 2014 09:24:44 +0000 (11:24 +0200)
commit8710a36a01c0cb1648926792c2ad05185535558e
tree0f4bc04b87ae5926d9f855f7268ee84802232749
parentffe3c68e494efc1c2c4d748fa9d69e150867e5c2
improve pkgTagSection scanning and parsing

Removes the 256 fields limit, deals consistently with spaces littered
all over the place and is even a tiny bit faster than before.
Even comes with a bunch of new tests to validate these claims.
apt-pkg/tagfile.cc
apt-pkg/tagfile.h
cmdline/apt-extracttemplates.cc
test/integration/test-apt-ftparchive-src-cachedb
test/libapt/tagfile_test.cc