commit | 5bd32f47ec5121a5485d180add1dacb73472e4b2 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Apr 02 14:05:38 2014 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Apr 02 14:05:38 2014 +0200 |
tree | f779d9e3e80717a5a8f06a154eaa332ab2452618 | |
parent | 6716d9af113a5c4bcc7fdf8fd24f3d633db386c7 [diff] [blame] |
updated for version 7.4.238 Problem: Vim does not support the smack library. Solution: Add smack support (Jose Bollo)
diff --git a/src/undo.c b/src/undo.c index fcc9a3b..5db25f0 100644 --- a/src/undo.c +++ b/src/undo.c
@@ -1455,7 +1455,7 @@ # 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