0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.2a-009

This commit is contained in:
Bram Moolenaar
2008-06-29 12:00:49 +00:00
parent c4a87015f7
commit 0d1498ea69
3 changed files with 16 additions and 2 deletions

View File

@@ -58,7 +58,9 @@ static int selinux_enabled = -1;
#ifdef __CYGWIN__
# ifndef WIN32
# include <sys/cygwin.h> /* for cygwin_conv_to_posix_path() */
# include <cygwin/version.h>
# include <sys/cygwin.h> /* for cygwin_conv_to_posix_path() and/or
* for cygwin_conv_path() */
# endif
#endif
@@ -2312,7 +2314,11 @@ mch_FullName(fname, buf, len, force)
/*
* This helps for when "/etc/hosts" is a symlink to "c:/something/hosts".
*/
# if CYGWIN_VERSION_DLL_MAJOR >= 1007
cygwin_conv_path(CCP_WIN_A_TO_POSIX, fname, posix_fname, MAXPATHL);
# else
cygwin_conv_to_posix_path(fname, posix_fname);
# endif
fname = posix_fname;
#endif