On Thu, Feb 19, 2015 at 11:34 AM, Charles Campbell <
[email protected]> wrote:

> Hello:
>
> Please try the following on a linux system:
>
>   mkdir PROBLEM
>   cd PROBLEM
>   ln -s file1 file2
>
> Doing ls shows file2 exists (but it points to a non-existing file).
>
> Fire up vim:
>
>   vim -u NONE -N
>   :echo string(glob("*"))
>
> shows that glob() returns an empty string, whereas it should show
> file2.  "file2" is a symbolic link, which means that its a file that has
> contents (which happens to be a path to a non-existing file).
>

This bug has been around for years and years on Mac OSX, going *at least*
all the way back to OSX 10.4.  It's driven me absolutely nuts.

I hope it gets fixed.  A symlink that points to nothing is still a file.

-Manny

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