Patch 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) Files: src/fileio.c
*** ../vim-7.4.088/src/fileio.c 2013-08-30 17:06:56.000000000 +0200 --- src/fileio.c 2013-11-12 05:07:22.000000000 +0100 *************** *** 6707,6712 **** --- 6707,6715 ---- 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); *** ../vim-7.4.088/src/version.c 2013-11-12 04:43:57.000000000 +0100 --- src/version.c 2013-11-12 05:11:02.000000000 +0100 *************** *** 740,741 **** --- 740,743 ---- { /* Add new patch number below this line */ + /**/ + 89, /**/ -- Kiss me twice. I'm schizophrenic. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.