diff options
author | vimboss <devnull@localhost> | 2007-08-11 20:24:10 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2007-08-11 20:24:10 +0000 |
commit | 10a5c722c755f5e5ba737fc4bf1eb2d7564790d1 (patch) | |
tree | 553daa0d1528207b2a30241c4e95cf755535c0d4 | |
parent | ce97d0ac54e22fa27e3c066d18d7790a3bcf8d8b (diff) | |
download | vim-7.1.064.tar.gz |
-rw-r--r-- | src/os_unix.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 2d512b73..d0a1c521 100644 --- 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 index 4babbb81..6f0eb8d9 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 */ /**/ + 64, +/**/ 63, /**/ 62, |