diff options
author | Michael Vogt <egon@bottom> | 2007-07-01 12:31:49 +0200 |
---|---|---|
committer | Michael Vogt <egon@bottom> | 2007-07-01 12:31:49 +0200 |
commit | 4ac3c092c5c59476ec1ed34a93dffecdf816fae5 (patch) | |
tree | 34a88d31c9518d7a86728ba30db68a0bd587844b /cmdline/apt-get.cc | |
parent | eca44a5f7e4402dcf254a465150e55d3c967c805 (diff) | |
parent | 36baa77ad9711a98c1407990a2f04acf666d4408 (diff) |
* fixed compile errors with g++ 7.3 (thanks to
Daniel Burrows, closes: #429378)
* fixes in the auto-mark code (thanks to Daniel
Burrows)
* 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)
* merged from Christian Perrier:
* Update all PO and the POT. Gives 514t14f4u for formerly
complete translations
* fr.po: completed to 532t
* ku.po, uk.po, LINGUAS: reintegrate those translations
which disappeared from the BZR repositories
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r-- | cmdline/apt-get.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 554677f39..aa54677be 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1519,7 +1519,8 @@ bool TryInstallTask(pkgDepCache &Cache, pkgProblemResolver &Fix, // build regexp for the task char S[300]; - snprintf(S, sizeof(S), "^Task:.*[^a-z]%s[^a-z].*\n", taskname); + // better: "^Task:.*[^a-z]lamp-server([^a-z]|\n)" ? + snprintf(S, sizeof(S), "^Task:.*[^a-z]%s[^a-z].*$", taskname); regcomp(&Pattern,S, REG_EXTENDED | REG_NOSUB | REG_NEWLINE); bool found = false; |