rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 2184e03bc66a77d9ead42730d51c22b942e7848e
parent e438ef1167232d1f863aafc078be47e99574c344
Author: tgoodwin <tgoodwin>
Date:   Wed, 11 Feb 1998 15:44:57 +0000

an array of `gid_t's is not indexed by gid_t, bozo

Diffstat:
Mwhich.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/which.c b/which.c @@ -32,7 +32,7 @@ static GETGROUPS_T *gidset; /* determine whether gid lies in gidset */ static int ingidset(gid_t g) { - gid_t i; + int i; for (i = 0; i < ngroups; ++i) if (g == gidset[i]) return 1;