On Thu, Feb 19, 2015 at 08:38:02PM -0500, Charles E Campbell wrote:
> If after the ln -s file1 file2, one then types
>   touch file1
>   ls
> then both file1 and file2 appear.  Glob("*") should in that case show file1
> and file2.  There must be some information gathering that fails on the
> missing file1 that stops f_glob() from showing file2.

Right.  It's a difference in using stat(2) vs. lstat(2).  The attached
patch uses lstat() instead of mch_getperm() to determine whether the
file should be considered.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


Raspunde prin e-mail lui