This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

initgroups() doesn't match documented behaviour


While working on the documentation for the new getgrouplist()
function, I noticed that the documentation for initgroups() doesn't
match its actual behaviour.  The documentation says that when: GID is
not -1, it includes that group also.  But the actual code doesn't
treat -1 specially; it always includes the group.  Since this matches
FreeBSD behaviour, I think we should fix the manual.  OK, if I include
that with the getgrouplist documentation patch?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]