From: Michael Vogt Date: Wed, 27 Jun 2007 11:13:36 +0000 (+0200) Subject: * cmdline/apt-get.cc: X-Git-Tag: 0.7.21~273^2~3 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/ca0acc19704fa864d846d37cc45524e9d0af2295?hp=-c * cmdline/apt-get.cc: - fix InstallTask code when a pkgRecord ends with a single '\n' (thanks to Soren Hansen for reporting) --- ca0acc19704fa864d846d37cc45524e9d0af2295 diff --combined cmdline/apt-get.cc index 554677f39,554677f39..7aea9edb3 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@@ -1519,7 -1519,7 +1519,7 @@@ bool TryInstallTask(pkgDepCache &Cache // build regexp for the task char S[300]; -- snprintf(S, sizeof(S), "^Task:.*[^a-z]%s[^a-z].*\n", taskname); ++ snprintf(S, sizeof(S), "^Task:.*[^a-z\n]%s[^a-z].*$", taskname); regcomp(&Pattern,S, REG_EXTENDED | REG_NOSUB | REG_NEWLINE); bool found = false; diff --combined debian/changelog index ea8113e95,41609bd74..6196e02ba --- a/debian/changelog +++ b/debian/changelog @@@ -1,12 -1,3 +1,15 @@@ +apt (0.7.3) unstable; urgency=low + + * fixed compile errors with g++ 7.3 (thanks to + Daniel Burrows, closes: #429378) + * fix FTFBFS by changing build-depends to + libcurl4-gnutls-dev (closes: #428363) ++ * cmdline/apt-get.cc: ++ - fix InstallTask code when a pkgRecord ends ++ with a single '\n' (thanks to Soren Hansen for reporting) + + -- + apt (0.7.2) unstable; urgency=low * merged the debian/experimental changes back