[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Behavior of directory-files on Windows
From: |
Thierry Volpiatto |
Subject: |
Re: Behavior of directory-files on Windows |
Date: |
Fri, 02 Dec 2011 16:51:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> From: Thierry Volpiatto <address@hidden>
>> Cc: address@hidden, address@hidden
>> Date: Fri, 02 Dec 2011 11:46:48 +0100
>>
>> I think adding both c:/. and c:/.. to listing of directory-files doesn't
>> arm.
>> It's what I did here (in anything) and it is nice feature IMO.
>> On GNU/Linux, having "." and ".." in (directory-files "/") is not a
>> problem.
>>
>> Do you think this can create problems in some places?
>
> It won't create problems if done thoroughly: you need to invent all of
> the file-attributes for these fake entries, including such obscure
> ones as number of links etc. And you need to handle the cases where
> there are real directory entries by those names, so as not to clobber
> accurate information.
Ok, I see, thanks for this comment.
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
Re: Behavior of directory-files on Windows, Eli Zaretskii, 2011/12/01