Xavier wrote:
On Mon, Dec 21, 2009 at 10:55 AM, Allan McRae <allan@archlinux.org> 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 :)
~/code/pacman/src/pacman/pacman -Qo libalpm.so.4
It appears that you are wrong: allan@arch /usr/lib 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