projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
486f3db
)
Fix an unnecessary error on Solaris 10 on NFSv3 file systems.
author
Bruno Haible
<bruno@clisp.org>
Sun, 30 Aug 2009 22:53:46 +0000
(
00:53
+0200)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 30 Aug 2009 22:53:46 +0000
(
00:53
+0200)
ChangeLog
patch
|
blob
|
history
lib/set-mode-acl.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 61f949aa86290973a7bab64777b7282936accdf7..7dee308a12e08d13a56f33ac78e5ed9ed314dbd6 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,9
@@
+2009-08-30 Bruno Haible <bruno@clisp.org>
+
+ Fix an unnecessary error on Solaris 10 on NFSv3 file systems.
+ * lib/set-mode-acl.c (qset_acl) [Solaris 10 new]: Treat EOPNOTSUPP like
+ ENOSYS.
+
2009-08-30 Bruno Haible <bruno@clisp.org>
* tests/test-pipe-filter-ii1.sh: Prefer /usr/xpg6/bin/tr over
diff --git
a/lib/set-mode-acl.c
b/lib/set-mode-acl.c
index a24b9f348cc70bc1db0f9f85e215104db4e4d018..34076db20200055f7cc2e922c5b22acb45c31fc0 100644
(file)
--- a/
lib/set-mode-acl.c
+++ b/
lib/set-mode-acl.c
@@
-234,7
+234,7
@@
qset_acl (char const *name, int desc, mode_t mode)
acl_free (aclp);
if (ret < 0)
{
- if (saved_errno == ENOSYS)
+ if (saved_errno == ENOSYS
|| saved_errno == EOPNOTSUPP
)
return chmod_or_fchmod (name, desc, mode);
errno = saved_errno;
return -1;