commit | 708f62c38056b017d090c858036a8f8bf8884da6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 11 20:24:10 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 11 20:24:10 2007 +0000 |
tree | 553daa0d1528207b2a30241c4e95cf755535c0d4 | |
parent | 52d36c8bb77ba3769c8b4cf2e5aacfbeef82756f [diff] [blame] |
updated for version 7.1-064
diff --git a/src/os_unix.c b/src/os_unix.c index 2d512b7..d0a1c52 100644 --- a/src/os_unix.c +++ b/src/os_unix.c
@@ -2499,7 +2499,13 @@ 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 } /*