* setfacl.c (strchrnul): Drop local implementation.

This commit is contained in:
Corinna Vinschen 2011-03-28 21:21:03 +00:00
parent 75526ad530
commit 471bbbe240
2 changed files with 5 additions and 11 deletions

View File

@ -1,3 +1,7 @@
2011-02-28 Corinna Vinschen <corinna@vinschen.de>
* setfacl.c (strchrnul): Drop local implementation.
2011-02-15 Corinna Vinschen <corinna@vinschen.de> 2011-02-15 Corinna Vinschen <corinna@vinschen.de>
* cygcheck.cc: Fix copyright dates. * cygcheck.cc: Fix copyright dates.

View File

@ -1,6 +1,6 @@
/* setfacl.c /* setfacl.c
Copyright 2000, 2001, 2002, 2003, 2006, 2008, 2009, 2010 Red Hat Inc. Copyright 2000, 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011 Red Hat Inc.
Written by Corinna Vinschen <vinschen@redhat.com> Written by Corinna Vinschen <vinschen@redhat.com>
@ -71,16 +71,6 @@ mode_t getperm (char *in)
| (in[2] == 'x' ? S_IXOTH : 0); | (in[2] == 'x' ? S_IXOTH : 0);
} }
/* GNU extension. Like strchr except that if c is not found, return pointer
to the trailing \0, rather than NULL. */
static char *
strchrnul (const char *s, int c)
{
while (*s && *s != c)
++s;
return (char *) s;
}
BOOL BOOL
getaclentry (action_t action, char *c, aclent_t *ace) getaclentry (action_t action, char *c, aclent_t *ace)
{ {