On Mon, Feb 25, 2002 at 16:09:19 +0200, Maxim Sobolev wrote: > Are you sure? I've just heard so many opinions about that and want to > get some clarity before backouting the backout to avoid backouting the > backouted backout later. :)
Your initial fix was incorrect, but intention was right. <grp.h> should declare gid_t by itself. Sample quotes included below. >From IEEE P1003.1 Draft 7: NAME 8332 grp.h.group structure 8333 SYNOPSIS 8334 #include <grp.h> 8335 DESCRIPTION 8336 The <grp.h> header shall declare the structure group which shall include the following 8337 members: 8338 char *gr_name The name of the group. 8339 gid_t gr_gid Numerical group ID. 8340 char **gr_mem Pointer to a null-terminated array of character 8341 pointers to member names. 8342 The gid_t type shall be defined as described in <sys/types.h>. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16662 NAME 16663 getgrgid, getgrgid_r.get group database entry for a group ID 16664 SYNOPSIS 16665 #include <grp.h> 16666 struct group *getgrgid(gid_t gid); 16667 TSF int getgrgid_r(gid_t gid, struct group * grp, char * buffer, 16668 size_t bufsize, struct group ** result); -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message