Mirror of the Vim source from https://github.com/vim/vim
Revision | fc2ee817dc9861774c31bbe768cddcaca4690e4e (tree) |
---|---|
Time | 2008-06-21 20:12:49 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.1-328
@@ -2278,6 +2278,10 @@ | ||
2278 | 2278 | char_u olddir[MAXPATHL]; |
2279 | 2279 | char_u *p; |
2280 | 2280 | int retval = OK; |
2281 | +#ifdef __CYGWIN__ | |
2282 | + char_u posix_fname[MAX_PATH]; | |
2283 | +#endif | |
2284 | + | |
2281 | 2285 | |
2282 | 2286 | #ifdef VMS |
2283 | 2287 | fname = vms_fixfilename(fname); |
@@ -2287,7 +2291,8 @@ | ||
2287 | 2291 | /* |
2288 | 2292 | * This helps for when "/etc/hosts" is a symlink to "c:/something/hosts". |
2289 | 2293 | */ |
2290 | - cygwin_conv_to_posix_path(fname, fname); | |
2294 | + cygwin_conv_to_posix_path(fname, posix_fname); | |
2295 | + fname = posix_fname; | |
2291 | 2296 | #endif |
2292 | 2297 | |
2293 | 2298 | /* expand it if forced or not an absolute path */ |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 328, | |
671 | +/**/ | |
670 | 672 | 327, |
671 | 673 | /**/ |
672 | 674 | 326, |