29 Sep
2007
29 Sep
'07
9:09 p.m.
On 9/29/07, Xavier <shiningxc@gmail.com> wrote:
2007/9/29, Xavier <shiningxc@gmail.com>:
Running pacman -v with this config gives the following : Root : /data/share/devel/pacman/pacman/foo/ DB Path : /home/xav/pacman/pacman/foo/var/lib/pacman/
That's because the alpm_option_set_root function in libalpm/trans.c calls realpath. So should realpath be called for the other paths as well? At least for db path?
We should definitely be consistent across the board with these path resolvers. Are there any disadvantages to always using realpath? -Dan