On Apr 16 16:49, Bram Moolenaar wrote:
> 
> Luca Masini wrote:
> 
> > I'm not sure if this is the right way to submit a patch.
> > 
> > Anyway the attached patch should solve the problem with symbolic links.
> > For ex. when editing /etc/hosts we get the warning
> >    E303: Unable to open swap file for "hosts", recovery impossible
> > (/etc/hosts is a symlink in cygwin)
> 
> The mch_FullName() in os_unix.c already takes care of symlinks.  Why
> would this extra code for Cygwin be needed?

This is about the same problem as descibied in the thread starting at
http://www.mail-archive.com/vim-dev@vim.org/msg02489.html
Maybe we should convert DOS paths always to UNIX paths in mch_FullName(),
instead of trying to match both, DOS and UNIX paths?


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

Reply via email to