Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Unreadable directories aren't included in glob expansion




> 2020/02/28 15:51, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> :
> 
> On Thu, Feb 27, 2020, 10:38 PM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
> 
> Anyway, the only thing I know is
>     both  access("d000/.", F_OK)  and  stat("d000/.", st)
> succeed on Cygwin.
> 
> What about "d000/.." ?

Both access(, F_OK) and stat() succeed for "d000/..".
If there is "afile" in d000/ then they also succeed for "d000/afile".



Messages sorted by: Reverse Date, Date, Thread, Author