projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unistr/u8-chr, unistr/u8-strchr: Optimize and add comments.
[pspp]
/
lib
/
set-mode-acl.c
diff --git
a/lib/set-mode-acl.c
b/lib/set-mode-acl.c
index c5b4726e23099063dc7b4a44eb19bd9eec117c5c..2cd2c75f387376f40be3fdbb907093dd91b33c65 100644
(file)
--- a/
lib/set-mode-acl.c
+++ b/
lib/set-mode-acl.c
@@
-387,7
+387,7
@@
qset_acl (char const *name, int desc, mode_t mode)
ret = acl (name, SETACL, sizeof (entries) / sizeof (aclent_t), entries);
if (ret < 0)
{
- if (errno == ENOSYS)
+ if (errno == ENOSYS
|| errno == EOPNOTSUPP
)
return chmod_or_fchmod (name, desc, mode);
return -1;
}