diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-06-19 01:23:20 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-06-26 15:32:16 +1000 |
commit | 96ac9c52995ff5be8c4ed9f71f1bf08d0d0f0872 (patch) | |
tree | 53addf6908d768ed9b07ee9b89656dede4ecf2bb /src/pacman/util-common.c | |
parent | b36b87656ef8e341dccc5c683ed9f814c0017c67 (diff) |
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 'src/pacman/util-common.c')
0 files changed, 0 insertions, 0 deletions