diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-03-25 18:37:15 +0100 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-03-25 18:37:15 +0100 |
commit | a9b53ad3778a9d61fdf66681e33d2dc75f7bd8f3 (patch) | |
tree | 318dba836fb22f58be0491e6faca59e362f56013 /src | |
parent | 0f4a96b5d7de244a7be6fc98f6a66d3d1e6a7569 (diff) | |
download | emacs-a9b53ad3778a9d61fdf66681e33d2dc75f7bd8f3.tar.gz |
src/fileio.c: Move computation of encoded_absname inside `if'.
Diffstat (limited to 'src')
-rw-r--r-- | src/fileio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index bab9360d3bc..85431dfd5b1 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2806,11 +2806,10 @@ is disabled. */) return call3 (handler, Qset_file_selinux_context, absname, context); #if HAVE_LIBSELINUX - encoded_absname = ENCODE_FILE (absname); - if (is_selinux_enabled ()) { /* Get current file context. */ + encoded_absname = ENCODE_FILE (absname); conlength = lgetfilecon (SSDATA (encoded_absname), &con); if (conlength > 0) { |