emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Behavior of directory-files on Windows


From: Eli Zaretskii
Subject: Re: Behavior of directory-files on Windows
Date: Fri, 02 Dec 2011 17:03:53 +0200

> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]