acl: Fix endless loop on Solaris with vxfs.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Feb 2012 21:17:05 +0000 (22:17 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Feb 2012 21:17:05 +0000 (22:17 +0100)
commit1e5535ce0c17e7e605e71d7423789a3d5254d9f7
tree331a4f4d4b91fa82d7988e8e5e06065155160a79
parentec10a26aea109e60b185b026a84d68d4ebb50952
acl: Fix endless loop on Solaris with vxfs.

* lib/file-has-acl.c (file_has_acl) [Solaris]: Treat a failing
acl()/facl() call for ACE_GETACL like a failing call for ACE_GETACLCNT.
* lib/set-mode-acl.c (qset_acl) [Solaris]: Likewise.
* lib/copy-acl.c (qcopy_acl)[Solaris]: Likewise.
* tests/test-sameacls.c (main)[Solaris]: Likewise.
Reported by Bill Jones in
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10639>, via Paul Eggert.
ChangeLog
lib/copy-acl.c
lib/file-has-acl.c
lib/set-mode-acl.c
tests/test-sameacls.c