|
Karsten Hopp |
6addbd |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
6addbd |
Subject: Patch 7.4.089
|
|
Karsten Hopp |
6addbd |
Fcc: outbox
|
|
Karsten Hopp |
6addbd |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
6addbd |
Mime-Version: 1.0
|
|
Karsten Hopp |
6addbd |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
6addbd |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
6addbd |
------------
|
|
Karsten Hopp |
6addbd |
|
|
Karsten Hopp |
6addbd |
Patch 7.4.089
|
|
Karsten Hopp |
6addbd |
Problem: When editing a file in a directory mounted through sshfs Vim
|
|
Karsten Hopp |
6addbd |
doesn't set the security context on a renamed file.
|
|
Karsten Hopp |
6addbd |
Solution: Add mch_copy_sec() to vim_rename(). (Peter Backes)
|
|
Karsten Hopp |
6addbd |
Files: src/fileio.c
|
|
Karsten Hopp |
6addbd |
|
|
Karsten Hopp |
6addbd |
|
|
Karsten Hopp |
6addbd |
*** ../vim-7.4.088/src/fileio.c 2013-08-30 17:06:56.000000000 +0200
|
|
Karsten Hopp |
6addbd |
--- src/fileio.c 2013-11-12 05:07:22.000000000 +0100
|
|
Karsten Hopp |
6addbd |
***************
|
|
Karsten Hopp |
6addbd |
*** 6707,6712 ****
|
|
Karsten Hopp |
6addbd |
--- 6707,6715 ----
|
|
Karsten Hopp |
6addbd |
mch_set_acl(to, acl);
|
|
Karsten Hopp |
6addbd |
mch_free_acl(acl);
|
|
Karsten Hopp |
6addbd |
#endif
|
|
Karsten Hopp |
6addbd |
+ #ifdef HAVE_SELINUX
|
|
Karsten Hopp |
6addbd |
+ mch_copy_sec(from, to)
|
|
Karsten Hopp |
6addbd |
+ #endif
|
|
Karsten Hopp |
6addbd |
if (errmsg != NULL)
|
|
Karsten Hopp |
6addbd |
{
|
|
Karsten Hopp |
6addbd |
EMSG2(errmsg, to);
|
|
Karsten Hopp |
6addbd |
*** ../vim-7.4.088/src/version.c 2013-11-12 04:43:57.000000000 +0100
|
|
Karsten Hopp |
6addbd |
--- src/version.c 2013-11-12 05:11:02.000000000 +0100
|
|
Karsten Hopp |
6addbd |
***************
|
|
Karsten Hopp |
6addbd |
*** 740,741 ****
|
|
Karsten Hopp |
6addbd |
--- 740,743 ----
|
|
Karsten Hopp |
6addbd |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
6addbd |
+ /**/
|
|
Karsten Hopp |
6addbd |
+ 89,
|
|
Karsten Hopp |
6addbd |
/**/
|
|
Karsten Hopp |
6addbd |
|
|
Karsten Hopp |
6addbd |
--
|
|
Karsten Hopp |
6addbd |
Kiss me twice. I'm schizophrenic.
|
|
Karsten Hopp |
6addbd |
|
|
Karsten Hopp |
6addbd |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
6addbd |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
6addbd |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
6addbd |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|