Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a9b53ad3
Commit
a9b53ad3
authored
Mar 25, 2011
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/fileio.c: Move computation of encoded_absname inside `if'.
parent
0f4a96b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/fileio.c
src/fileio.c
+1
-2
No files found.
src/fileio.c
View file @
a9b53ad3
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment