From owner-freebsd-bugs Sat Apr 12 17:40:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA05876 for bugs-outgoing; Sat, 12 Apr 1997 17:40:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA05865; Sat, 12 Apr 1997 17:40:01 -0700 (PDT) Date: Sat, 12 Apr 1997 17:40:01 -0700 (PDT) Message-Id: <199704130040.RAA05865@freefall.freebsd.org> To: freebsd-bugs Cc: From: David Nugent Subject: Re: bin/3242: incorrect prototype for initgroups Reply-To: David Nugent Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3242; it has been noted by GNATS. From: David Nugent To: charnier@xp11.frmug.org Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/3242: incorrect prototype for initgroups Date: Sun, 13 Apr 1997 10:32:44 +1000 On Wed Apr 9 21:54:34 EST 1997, Philippe Charnier writes: > 1) > #include > > int > initgroups(const char *name, int basegid) > > ^^^ what about gid_t here? > and in the function definition. It should be the same type that is used in pwd.h for pwd.pw_gid which, currently, is 'int'. I believe that Bruce was looking into this one, since it had to do with the self-sufficiency of headers, but I've just noticed that both files now include sys/types.h unconditionally. Of course the type of pw_uid is also part of the question. Bruce? Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/