]> err.no Git - dpkg/commit
Allow changelog parser to abort early
authorFrank Lichtenheld <djpig@debian.org>
Mon, 10 Dec 2007 23:50:51 +0000 (00:50 +0100)
committerFrank Lichtenheld <djpig@debian.org>
Mon, 10 Dec 2007 23:50:51 +0000 (00:50 +0100)
commit0287c4c511e38a97a9b87e67332b80bd89f2413c
tree6f3c9b5037fd509e17879a6e3c6d624da8f50c1d
parent78adb13396e4eb966269b338b0e382a424b54f52
Allow changelog parser to abort early

Dpkg::Changelog->_abort_early() tests whether the parser
can abort.
Dpkg::Changelog::Debian->parse() checks this after each
finished entry.
parsechangelog/debian sets count explicetly to 1 if no
other range options are given so that the parser
aborts early in this case.
scripts/Dpkg/Changelog.pm
scripts/Dpkg/Changelog/Debian.pm
scripts/changelog/debian.pl