[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111373: Fix return values of set-fil
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111373: Fix return values of set-file-acl and set-file-selinux-context when ENOTSUP. |
Date: |
Sat, 29 Dec 2012 19:02:34 +0200 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111373
fixes bug: http://debbugs.gnu.org/13298
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2012-12-29 19:02:34 +0200
message:
Fix return values of set-file-acl and set-file-selinux-context when ENOTSUP.
modified:
src/fileio.c
=== modified file 'src/fileio.c'
--- a/src/fileio.c 2012-12-29 14:32:36 +0000
+++ b/src/fileio.c 2012-12-29 17:02:34 +0000
@@ -3065,7 +3065,7 @@
context_free (parsed_con);
freecon (con);
- return Qt;
+ return fail ? Qnil : Qt;
}
else
report_file_error ("Doing lgetfilecon", Fcons (absname, Qnil));
@@ -3171,7 +3171,7 @@
report_file_error ("Setting ACL", Fcons (absname, Qnil));
acl_free (acl);
- return Qt;
+ return fail ? Qnil : Qt;
}
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111373: Fix return values of set-file-acl and set-file-selinux-context when ENOTSUP.,
Eli Zaretskii <=