[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: use GNU readlink --canonicalize for file-truename when avail
Re: Patch: use GNU readlink --canonicalize for file-truename when available
Fri, 14 Aug 2009 21:19:43 +1200
On Fri, Aug 14, 2009 at 7:51 PM, Julian Scheid<address@hidden> wrote:
> $ readlink -m /tmp/fake/foo/bar
Patch take two attached.
file-truename appears to always return a value ending in a slash when
its argument ends in a slash, and vice versa.
The cache used in tramp-handle-file-truename, however, seems to not
distinguish between the two and so if truename for foo/ is requested
and later truename for foo, the result for the latter will end in a
slash. Did this come up before? Do you think this could be a problem
and if so, any thoughts on how to best fix it?
Description: Binary data