Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 1997 17:40:01 -0700 (PDT)
From:      David Nugent <davidn@unique.usn.blaze.net.au>
To:        freebsd-bugs
Subject:   Re: bin/3242: incorrect prototype for initgroups
Message-ID:  <199704130040.RAA05865@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/3242; it has been noted by GNATS.

From: David Nugent <davidn@unique.usn.blaze.net.au>
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 <unistd.h>
 > 
 >      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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704130040.RAA05865>