summaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-02-03 12:58:23 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-02-03 13:50:00 +0100
commitcd907113561d5eb75054f981be3bcc22eee8db27 (patch)
tree4ebe210982c5a334c5d88bbedec655f54e3afd8a /completions/bash
parent1051eb835914196e326a53f76ca706f4d422d633 (diff)
use pkgCache::VS instead of pkgDepCache::VS()
The later just calls the earlier, but the later needs the fullblown dependency cache to be initialized, which is a very costly operation and isn't done anymore that early in the run as we would need to throw away and rebuild it again after we got all the information about source pkgs. As we end up with a nullptr for the pkgDepCache, we use a slightly longer calling convention to make sure that we use the pkgCache directly, avoiding nullptr induced segfaults and costly operations. Git-Dch: Ignore Reported-By: Balint Reczey <balint@balintreczey.hu>
Diffstat (limited to 'completions/bash')
0 files changed, 0 insertions, 0 deletions