[pacman-dev] [PATCH 1/4] query_fileowner: remove assumption that root is "/"

Allan McRae allan at archlinux.org
Mon Aug 27 03:24:40 EDT 2012


On 12/08/12 07:35, Andrew Gregory wrote:
> Returning "/" from mdirname removes it as a special case which allows us to
> test it like any other directory.  This corrects a false positive when querying
> a file in / and root is not set to /.
> 
> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> ---
>  src/pacman/query.c | 31 ++++++-------------------------
>  src/pacman/util.c  |  5 +++++
>  2 files changed, 11 insertions(+), 25 deletions(-)
> 

Ack-by: Allan

Sorry it took so long to get to looking at these patches.




More information about the pacman-dev mailing list