Wrong type for 2nd arg of getgroups under vax-dec-ultrix4.3 in fixed unistd.h

John David Anglin dave@hiauly1.hia.nrc.ca
Wed May 5 14:02:00 GMT 1999

According to the man page for getgroups, the type of the second argument
should be "int *".  The type in the fixed version of unistd.h is "short *".
I think this happens because the type of gid_t is short under
vax-dec-ultrix4.3.  This happens both with egcs-2.91.57 and gcc-2.8.1.

J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

More information about the Gcc-bugs mailing list