Mercurial > vim
changeset 1615:fc2ee817dc98 v7.1.328
updated for version 7.1-328
author | vimboss |
---|---|
date | Sat, 21 Jun 2008 11:12:49 +0000 |
parents | 371201c6b4c1 |
children | dbef8434a2ea |
files | src/os_unix.c src/version.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 */