Mercurial > vim
diff src/undo.c @ 5788:410ef4f1a3d2 v7.4.238
updated for version 7.4.238
Problem: Vim does not support the smack library.
Solution: Add smack support (Jose Bollo)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 02 Apr 2014 14:05:38 +0200 |
parents | 50dbef5e774a |
children | 18ac55444b37 |
line wrap: on
line diff
--- 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