diff options
author | vimboss <devnull@localhost> | 2008-06-21 11:12:49 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2008-06-21 11:12:49 +0000 |
commit | c57da1afa1f1f226c527f95c88f362e23340ed2e (patch) | |
tree | 927f94edbf96a9790217c50e1b47467619dc6d81 | |
parent | 13010e26c3872c26eaf3cacc83e79f65fae7c597 (diff) | |
download | vim-c57da1afa1f1f226c527f95c88f362e23340ed2e.tar.gz |
-rw-r--r-- | src/os_unix.c | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 7bad7e9d..4c3f39f2 100644 --- 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 index 516b342c..bd4a99f5 100644 --- 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, |