# HG changeset patch # User vimboss # Date 1177597597 0 # Node ID 50a93218720458be104f03ce1be00bcc8b898eb9 # Parent 5d5a41a95347bf4a1382babc697a1f940a83e43c updated for version 7.0-228 diff --git a/src/os_unix.c b/src/os_unix.c --- a/src/os_unix.c +++ b/src/os_unix.c @@ -55,6 +55,12 @@ # endif #endif +#ifdef __CYGWIN__ +# ifndef WIN32 +# include /* for cygwin_conv_to_posix_path() */ +# endif +#endif + #if defined(HAVE_SELECT) extern int select __ARGS((int, fd_set *, fd_set *, fd_set *, struct timeval *)); #endif @@ -2230,6 +2236,13 @@ mch_FullName(fname, buf, len, force) fname = vms_fixfilename(fname); #endif +#ifdef __CYGWIN__ + /* + * This helps for when "/etc/hosts" is a symlink to "c:/something/hosts". + */ + cygwin_conv_to_posix_path(fname, fname); +#endif + /* expand it if forced or not an absolute path */ if (force || !mch_isFullName(fname)) { diff --git a/src/version.c b/src/version.c --- 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 */ /**/ + 228, +/**/ 227, /**/ 226,