X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Facl-internal.h;h=676e57aba3d6b73e40a476b5ce5ef3feb78e14ee;hb=718991da5f5026e1a8ce2efcca58359d9b67b2f5;hp=fababa634607b08f2516785c10857663fcf9e6ec;hpb=765ede785ea58125c799662bb90440e5c990afa7;p=gnulib.git diff --git a/lib/acl-internal.h b/lib/acl-internal.h index fababa634..676e57aba 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-2010 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