[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103745: src/fileio.c: Move computati
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103745: src/fileio.c: Move computation of encoded_absname inside `if'. |
Date: |
Fri, 25 Mar 2011 18:37:15 +0100 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 103745
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Fri 2011-03-25 18:37:15 +0100
message:
src/fileio.c: Move computation of encoded_absname inside `if'.
modified:
src/fileio.c
=== modified file 'src/fileio.c'
--- a/src/fileio.c 2011-03-25 15:39:59 +0000
+++ b/src/fileio.c 2011-03-25 17:37:15 +0000
@@ -2806,11 +2806,10 @@
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)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103745: src/fileio.c: Move computation of encoded_absname inside `if'.,
Juanma Barranquero <=