# HG changeset patch # User vimboss # Date 1214046769 0 # Node ID fc2ee817dc9861774c31bbe768cddcaca4690e4e # Parent 371201c6b4c1538b593b5dc72f36c79a1f2644de updated for version 7.1-328 diff --git a/src/os_unix.c b/src/os_unix.c --- a/src/os_unix.c +++ b/src/os_unix.c @@ -2278,6 +2278,10 @@ mch_FullName(fname, buf, len, force) char_u olddir[MAXPATHL]; char_u *p; int retval = OK; +#ifdef __CYGWIN__ + char_u posix_fname[MAX_PATH]; +#endif + #ifdef VMS fname = vms_fixfilename(fname); @@ -2287,7 +2291,8 @@ mch_FullName(fname, buf, len, force) /* * This helps for when "/etc/hosts" is a symlink to "c:/something/hosts". */ - cygwin_conv_to_posix_path(fname, fname); + cygwin_conv_to_posix_path(fname, posix_fname); + fname = posix_fname; #endif /* expand it if forced or not an absolute path */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 328, +/**/ 327, /**/ 326,