summaryrefslogtreecommitdiff
path: root/test/interactive-helper
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-07-18 19:22:29 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-07-18 21:30:47 +0200
commit922f07986b93ce7866f89917e3a475e6a4b3941c (patch)
tree7b162bb3cc2365e0bf2cb10d5d87671e498abb2d /test/interactive-helper
parent61843f539513b3e661dac55717e6d7cc0b8f9b0c (diff)
fix 'apt-cache search' crash with missing description
Beside the earlier fixed 'apt-cache show', 'showpkg' and 'search' deal with descriptions. 'showpkg' was fixed by fixing the cache generation for 'show', but 'search' still segfaulted. On the upside, it doesn't segfault any longer, on the downside, if a package has no description at all (aka: not in the Packages file and not in a Translation-* file) the package can't be found with 'search', even if we search only by name. That is a shortcoming in the code, but fixing it means rewriting it completely for dubious gain at best. So this commit just skips packages without a description and is done. Closes: 647590
Diffstat (limited to 'test/interactive-helper')
0 files changed, 0 insertions, 0 deletions