On Tue, 22 May 2012 08:28:11 +1000 Allan McRae <[email protected]> wrote:
> The restriction of not checking the ownership of a directory is > unnecessary given that all the package filelists contain this > information. Remove this restriction, with the expectation that you > might get multiple packages returned for a given directory. > Additionally attempt to minimise the number of files getting through > to the slow realpath call. > > This combines ideas from two patches that have been around for a long > time. > > Original-work-by: Andrew Gregory <[email protected]> > Original-work-by: Dan McGee <[email protected]> > Signed-off-by: Allan McRae <[email protected]> I actually decided to try tackling this again recently too. If you're interested, you can see the most recent incarnation here: http://bitbucket.org/andrewgregory/pacman/changesets/tip/directory_owner It gets rid of a lot of the basename/dirname stuff which I think makes it a lot easier to follow.
