updated for version 7.4.089
Problem: When editing a file in a directory mounted through sshfs Vim
doesn't set the security context on a renamed file.
Solution: Add mch_copy_sec() to vim_rename(). (Peter Backes)
diff --git a/src/fileio.c b/src/fileio.c
index 233990b..9db984d 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -6707,6 +6707,9 @@
mch_set_acl(to, acl);
mch_free_acl(acl);
#endif
+#ifdef HAVE_SELINUX
+ mch_copy_sec(from, to)
+#endif
if (errmsg != NULL)
{
EMSG2(errmsg, to);
diff --git a/src/version.c b/src/version.c
index d8de7a9..e7a9c58 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 89,
+/**/
88,
/**/
87,