On 27 July 2012 14:33, Joel Rosdahl <j...@rosdahl.net> wrote:
> [...] So, the code needs to handle x_realpath returning NULL.

Eric, I've now applied your patch with some tweaks in
2df269a3121889ebcdfa5d98dfb4d675f690e039 (see

> Thinking more about this, it would probably be better to (instead of
> realpath) use some function that doesn't expand symlinks and doesn't
> care whether the path exists or not. [...]

On the other hand, such a function would still need to expand symlinks
when there are ".." components in the path, which feels quite complex.

-- Joel
ccache mailing list

Reply via email to