summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sha2.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-12-23 16:57:29 +0100
committerAllan McRae <allan@archlinux.org>2014-12-24 02:15:38 +0100
commitd2d00e454353d5a420ce3406e9cd011e299d091d (patch)
tree3f0c66d68a6c06693291fd10ea6af0281603d673 /lib/libalpm/sha2.h
parentc07593c64ce616c768061348865ead2a13248b0f (diff)
downloadpacman-d2d00e454353d5a420ce3406e9cd011e299d091d.tar.gz
pacman-d2d00e454353d5a420ce3406e9cd011e299d091d.tar.xz
makepkg: properly correlate checksums for multiple sources
Previously, we used a single boolean value to determine correlation of sources to checksums. Since the introduction of arch-specific sources, this is no longer sufficient, as we must ensure that we have checksums for (potentially) multiple source arrays. This change inlines the logic of have_sources to build an associative array of source array names, unsetting them as we discover their checksums. The error condition then becomes a non-empty correlation array. Fixes: https://bugs.archlinux.org/task/43192 Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sha2.h')
0 files changed, 0 insertions, 0 deletions