What is the example code supposed to do? I have no problem executing it here: $ ./group buffer size from sysconf: 1024 gid: 124
It discovers what buffer size is necessary to successfully resolve the group id on two amd64 systems I'm using here. If you look at [1], I encounter problems with a group which has "many" members. For that one the default 1024 bytes of _SC_GETGR_R_SIZE_MAX are not enough. Also we found out, that all groups which are placed below that group in /etc/group - and really from the position in the /etc/group file, not from gid order - fail too. I can do further tests on these systems if you want me to. Cheers, Andreas [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23520744#60 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org