# HG changeset patch # User vimboss # Date 1186863850 0 # Node ID 3d698caa5dfc7b11c8a6ada5f57e75c7a6a117dc # Parent da1d62fe5379f77a2a165e40bf4bcad0466c60cb updated for version 7.1-064 diff --git a/src/os_unix.c b/src/os_unix.c --- a/src/os_unix.c +++ b/src/os_unix.c @@ -2499,7 +2499,13 @@ mch_getperm(name) if (stat((char *)name, &statb)) #endif return -1; +#ifdef __INTERIX + /* The top bit makes the value negative, which means the file doesn't + * exist. Remove the bit, we don't use it. */ + return statb.st_mode & ~S_ADDACE; +#else return statb.st_mode; +#endif } /* 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 */ /**/ + 64, +/**/ 63, /**/ 62,