summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-04-02 14:05:38 +0200
committerBram Moolenaar <Bram@vim.org>2014-04-02 14:05:38 +0200
commit5bd32f47ec5121a5485d180add1dacb73472e4b2 (patch)
treef779d9e3e80717a5a8f06a154eaa332ab2452618 /src/undo.c
parent6716d9af113a5c4bcc7fdf8fd24f3d633db386c7 (diff)
downloadvim-git-5bd32f47ec5121a5485d180add1dacb73472e4b2.tar.gz
updated for version 7.4.238v7.4.238
Problem: Vim does not support the smack library. Solution: Add smack support (Jose Bollo)
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index fcc9a3bfe..5db25f04e 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -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