summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_package.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-13 19:05:58 +0200
committerDan McGee <dan@archlinux.org>2012-05-21 00:35:31 +0200
commit5de465d63efbb82da6127ac927ad29b9c8b1b542 (patch)
treef097a1dfda47accda896b2477c351ae2c27c4528 /lib/libalpm/be_package.c
parent233e5f610c409052d4f88382ce5fe97f54fd6e6c (diff)
downloadpacman-5de465d63efbb82da6127ac927ad29b9c8b1b542.tar.gz
pacman-5de465d63efbb82da6127ac927ad29b9c8b1b542.tar.xz
pacman-key: test for content in keyring files
Test for file content (-s) rather than just existance (-f). This fixes a bug that manifests itself in the case of an empty -revoked file. A zero element 'keys' array would be passed to gpg, forcing it to list and, subsequently, revoke all known keys. Bug introduced in d1240f67eab6. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_package.c')
0 files changed, 0 insertions, 0 deletions