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? If something needs to be patched it's probably best done in mch_FullName(). -- If you don't get everything you want, think of everything you didn't get and don't want. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///