X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Facl-internal.h;h=e4661e8173b116acb0daa1a97ced3bc3679c0a38;hb=a54fe4af6d5d2d56ab422b3600bc3d5d450b05c8;hp=fababa634607b08f2516785c10857663fcf9e6ec;hpb=765ede785ea58125c799662bb90440e5c990afa7;p=gnulib.git diff --git a/lib/acl-internal.h b/lib/acl-internal.h index fababa634..e4661e817 100644 --- a/lib/acl-internal.h +++ b/lib/acl-internal.h @@ -1,6 +1,6 @@ /* 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 @@ -46,9 +46,6 @@ # define ENOTSUP (-1) #endif -#include "gettext.h" -#define _(msgid) gettext (msgid) - #ifndef HAVE_FCHMOD # define HAVE_FCHMOD false # define fchmod(fd, mode) (-1) @@ -139,6 +136,8 @@ rpl_acl_set_fd (int fd, acl_t acl) ((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