summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-08-11 20:24:10 +0000
committerBram Moolenaar <Bram@vim.org>2007-08-11 20:24:10 +0000
commit708f62c38056b017d090c858036a8f8bf8884da6 (patch)
tree553daa0d1528207b2a30241c4e95cf755535c0d4
parent52d36c8bb77ba3769c8b4cf2e5aacfbeef82756f (diff)
downloadvim-git-708f62c38056b017d090c858036a8f8bf8884da6.tar.gz
updated for version 7.1-064v7.1.064
-rw-r--r--src/os_unix.c6
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 2d512b730..d0a1c521b 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 4babbb816..6f0eb8d91 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,