From: Jim Meyering Date: Mon, 20 Nov 2006 13:08:38 +0000 (+0000) Subject: * lib/idcache.c: Adjust comments in user- and group- portions to X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ff952c883d6112a614b854409efbcac9c717b6f;p=pspp * lib/idcache.c: Adjust comments in user- and group- portions to be more accurate, and to be consistent with one another. --- diff --git a/ChangeLog b/ChangeLog index bdfd4673bd..2e45646856 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-20 Jim Meyering + + * lib/idcache.c: Adjust comments in user- and group- portions to + be more accurate, and to be consistent with one another. + 2006-11-20 Andreas Schwab (tiny change) Avoid syntax error in test program. diff --git a/lib/idcache.c b/lib/idcache.c index 0398b69f1a..0706f007f5 100644 --- a/lib/idcache.c +++ b/lib/idcache.c @@ -47,7 +47,7 @@ struct userid static struct userid *user_alist; -/* The members of this list have names not in the local passwd file. */ +/* Each entry on list is a user name for which the first lookup failed. */ static struct userid *nouser_alist; /* Translate UID to a login name, with cache, or NULL if unresolved. */ @@ -134,6 +134,8 @@ getuidbyname (const char *user) /* Use the same struct as for userids. */ static struct userid *group_alist; + +/* Each entry on list is a group name for which the first lookup failed. */ static struct userid *nogroup_alist; /* Translate GID to a group name, with cache, or NULL if unresolved. */