diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-06-19 07:23:20 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-06-26 07:32:16 +0200 |
commit | 96ac9c52995ff5be8c4ed9f71f1bf08d0d0f0872 (patch) | |
tree | 53addf6908d768ed9b07ee9b89656dede4ecf2bb /lib/libalpm/remove.c | |
parent | b36b87656ef8e341dccc5c683ed9f814c0017c67 (diff) | |
download | pacman-96ac9c52995ff5be8c4ed9f71f1bf08d0d0f0872.tar.gz pacman-96ac9c52995ff5be8c4ed9f71f1bf08d0d0f0872.tar.xz |
query_fileowner: resolve trailing . or .. in paths
The full path needs to resolved any time it ends with "." or "..", not
just when those are the entire path. This allows strange-but-valid
paths such as: "/home/." to be queried.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/remove.c')
0 files changed, 0 insertions, 0 deletions