mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
updated for version 7.4.238
Problem: Vim does not support the smack library. Solution: Add smack support (Jose Bollo)
This commit is contained in:
@@ -1455,7 +1455,7 @@ u_write_undo(name, forceit, buf, hash)
|
||||
# endif
|
||||
)
|
||||
mch_setperm(file_name, (perm & 0707) | ((perm & 07) << 3));
|
||||
# ifdef HAVE_SELINUX
|
||||
# if defined(HAVE_SELINUX) || defined(HAVE_SMACK)
|
||||
if (buf->b_ffname != NULL)
|
||||
mch_copy_sec(buf->b_ffname, file_name);
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user