+2009-05-03 Bruno Haible <bruno@clisp.org>
+
+ * lib/acl-internal.h (acl_entries): Clarify return value.
+ * lib/acl_entries.c (acl_entries): Likewise.
+
2009-05-04 David Bartley <dtbartle@csclub.uwaterloo.ca>
Bug fix in acl module.
/* Internal implementation of access control lists.
- Copyright (C) 2002-2003, 2005-2008 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2005-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY)
# endif
+/* Return the number of entries in ACL.
+ Return -1 and set errno upon failure to determine it. */
/* Define a replacement for acl_entries if needed. (Only Linux has it.) */
# if !HAVE_ACL_ENTRIES
# define acl_entries rpl_acl_entries
/* Return the number of entries in an ACL.
- Copyright (C) 2002-2003, 2005-2008 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2005-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* This file assumes POSIX-draft like ACLs
(Linux, FreeBSD, MacOS X, IRIX, Tru64). */
-/* Return the number of entries in ACL. */
+/* Return the number of entries in ACL.
+ Return -1 and set errno upon failure to determine it. */
int
acl_entries (acl_t acl)