diff options
-rw-r--r-- | src/nvim/undo.c | 4 | ||||
-rw-r--r-- | src/nvim/version.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index d8cf8aa7b7..3999f475c6 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1035,8 +1035,8 @@ void u_write_undo(char_u *name, int forceit, buf_T *buf, char_u *hash) } } - /* strip any s-bit */ - perm = perm & 0777; + // Strip any sticky and executable bits. + perm = perm & 0666; /* If the undo file already exists, verify that it actually is an undo * file, and delete it. */ diff --git a/src/nvim/version.c b/src/nvim/version.c index 7d5196a707..e80b653c00 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -76,7 +76,7 @@ static int included_patches[] = { 710, //709, //708, - //707, + 707, 706, //705, //704, |