X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetugroups.c;h=d6634baf06d57b2bb60e1f2a2c07806ad388deca;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=299bae685f80f484a98f88720ed1ffa332bd587e;hpb=c0221df484c4a8a32e42a595b9f6caa446cc2226;p=gnulib.git diff --git a/lib/getugroups.c b/lib/getugroups.c index 299bae685..d6634baf0 100644 --- a/lib/getugroups.c +++ b/lib/getugroups.c @@ -1,6 +1,6 @@ /* getugroups.c -- return a list of the groups a user is in - Copyright (C) 1990-1991, 1998-2000, 2003-2010 Free Software Foundation, Inc. + Copyright (C) 1990-1991, 1998-2000, 2003-2014 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 @@ -47,7 +47,7 @@ getugroups (int maxcount _GL_UNUSED, # define STREQ(a, b) (strcmp (a, b) == 0) -/* Like `getgroups', but for user USERNAME instead of for the current +/* Like 'getgroups', but for user USERNAME instead of for the current process. Store at most MAXCOUNT group IDs in the GROUPLIST array. If GID is not -1, store it first (if possible). GID should be the group ID (pw_gid) obtained from getpwuid, in case USERNAME is not