[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: use GNU readlink --canonicalize for file-truename when avail
From: |
Julian Scheid |
Subject: |
Re: Patch: use GNU readlink --canonicalize for file-truename when available |
Date: |
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
> /tmp/real/foo/bar
Patch take two attached.
Related question:
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?
tramp-file-truename-bugfix-2.patch
Description: Binary data