diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-06-20 22:18:42 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-06-26 06:05:59 +0200 |
commit | da0dcc29cf038de7dee9b16987b508e45d56ae91 (patch) | |
tree | 54d2511deb54262bd9bae32a8f4f556efd22f0de /lib/libalpm/db.h | |
parent | c6e47cb435988494f978c603eb12db97cfc88b3e (diff) | |
download | pacman-da0dcc29cf038de7dee9b16987b508e45d56ae91.tar.gz pacman-da0dcc29cf038de7dee9b16987b508e45d56ae91.tar.xz |
query: avoid false ownership matches for files in root
Check for an exact match when querying ownership of files in the root.
Previously, our test was too simple and would match the the basename of
package files against the query parameter, e.g.
$ pacman -Qo config
/config is owned by cower-git 20120614-1
Adds a new test to verify this behavior, query007.py.
Fixes FS#30388.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
0 files changed, 0 insertions, 0 deletions