[pacman-dev] [PATCH] Allow -Qo to perform a functional 'which'

Xavier shiningxc at gmail.com
Mon Dec 21 16:36:51 EST 2009

On Mon, Dec 21, 2009 at 10:03 PM, Allan McRae <allan at archlinux.org> wrote:
> It appears that you are wrong:
> allan at 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.

Sorry, I read the code too quickly and besides that, I don't know what
I was thinking but it was completely wrong.
Sorry for the noise :P

More information about the pacman-dev mailing list