summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorbubulle@debian.org <>2006-03-12 21:18:45 +0100
committerbubulle@debian.org <>2006-03-12 21:18:45 +0100
commita3c8f91f032961aca236f29af646170843a06730 (patch)
treecb11505f666d3f5ba23be9c6d30086fe29dab977 /cmdline/apt-cache.cc
parent54a14f507b63236ce8c94bb92a835be0cfd161dd (diff)
parentad97ee36860c237427dc38ac8ef7f537ac275d77 (diff)
Merge from Michael tree
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r--cmdline/apt-cache.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 0014563b8..aea9ebeba 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1574,10 +1574,11 @@ bool Madison(CommandLine &CmdL)
pkgCache &Cache = *GCache;
- // Create the text record parsers
+ // Create the src text record parsers and ignore errors about missing
+ // deb-src lines that are generated from pkgSrcRecords::pkgSrcRecords
pkgSrcRecords SrcRecs(*SrcList);
if (_error->PendingError() == true)
- return false;
+ _error->Discard();
for (const char **I = CmdL.FileList + 1; *I != 0; I++)
{