+2008-06-07 Bruno Haible <bruno@clisp.org>
+
+ * lib/set-mode-acl.c (qset_acl): Use acl_init(), not acl_from_text(),
+ to construct an empty ACL.
+
2008-06-07 Bruno Haible <bruno@clisp.org>
* lib/set-mode-acl.c (chmod_or_fchmod): Document return value
acl = acl_get_file (name, ACL_TYPE_ACCESS);
if (acl)
{
-# if HAVE_ACL_COPY_EXT_NATIVE && HAVE_ACL_CREATE_ENTRY_NP /* MacOS X */
- static const char empty_acl_text[] = "!#acl 1\n";
-# else /* Unknown flavor of POSIX-like ACLs */
-# error Unknown flavor of POSIX-like ACLs - add support for your platform.
-# endif
-
- acl = acl_from_text (empty_acl_text);
+ acl = acl_init (0);
if (acl)
{
if (HAVE_ACL_SET_FD && desc != -1)