X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetugroups.c;h=dc8089b6711ba92d31780a4b023cb5639ab7c1c2;hb=fa43e0af674cf072f407fda6ec95cae536f4e4a0;hp=0c22abaac7ccee94f063d32081f55160481c8f2b;hpb=e9ffb39caf8b0b1a5168af5e881aafa4997483f3;p=gnulib.git diff --git a/lib/getugroups.c b/lib/getugroups.c index 0c22abaac..dc8089b67 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-2009 Free Software Foundation, Inc. + Copyright (C) 1990-1991, 1998-2000, 2003-2011 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 @@ -45,7 +45,7 @@ getugroups (int maxcount _GL_UNUSED, #else /* HAVE_GRP_H */ # include -# define STREQ(s1, s2) (strcmp (s1, s2) == 0) +# define STREQ(a, b) (strcmp (a, b) == 0) /* Like `getgroups', but for user USERNAME instead of for the current process. Store at most MAXCOUNT group IDs in the GROUPLIST array.