From: Juanma Barranquero Date: Fri, 25 Mar 2011 17:37:15 +0000 (+0100) Subject: src/fileio.c: Move computation of encoded_absname inside `if'. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~489 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9b53ad3778a9d61fdf66681e33d2dc75f7bd8f3;p=emacs.git src/fileio.c: Move computation of encoded_absname inside `if'. --- 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) {