query_fileowner: remove assumption that root is "/"
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@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. |
| All times are GMT. The time now is 07:14 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.