summaryrefslogtreecommitdiff
path: root/apt-pkg/srcrecords.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-12-24 10:31:29 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2017-12-24 10:31:29 +0100
commit5ba048a475cfd728906875327ddceed4614a1c9d (patch)
tree90f67ff937c18d4ea5076e90d51a7163704d36f6 /apt-pkg/srcrecords.h
parenta6c7b262212d56a4ad37e6475f96152296ab1d0c (diff)
do not remap current files if nullptrs in cache generation
If the cache needs to grow to make room to insert volatile files like deb files into the cache we were remapping null-pointers making them non-null-pointers in the process causing trouble later on. Only the current Releasefile pointer can currently legally be a nullpointer as volatile files have no release file they belong to, but for safety the pointer to the current Packages file is equally guarded. The option APT::Cache-Start can be used to workaround this problem. Reported-By: Mattia Rizzolo on IRC
Diffstat (limited to 'apt-pkg/srcrecords.h')
0 files changed, 0 insertions, 0 deletions