Xavier wrote:
On Mon, Dec 21, 2009 at 10:55 AM, Allan McRae <[email protected]> wrote:
When pacman queries the ownership of an object that is not a path,
it will check in the users PATH for a match. Implements FS#8798.
Just one quick comment now :
The current behavior with pacman -Qo foo (with no /) will check the
current directory (well its just stat).
With the new behavior, it seems it will no longer do that. But one
workaround should be ./foo
And maybe that is fine.
Correct me if I am wrong :)
It appears that you are wrong:
al...@arch /usr/lib
> ~/code/pacman/src/pacman/pacman -Qo libalpm.so.4
libalpm.so.4 is owned by pacman 3.3.3-1
/usr/lib is not in my PATH...
This makes sense, as it only tests if the variable contains "/" and
searches the PATH after the initial stat fails.
Allan