updated for version 7.1-328
diff --git a/src/os_unix.c b/src/os_unix.c
index 7bad7e9..4c3f39f 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -2278,6 +2278,10 @@
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 @@
/*
* 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 */