On Tue, Apr 14, 2009 at 09:32:04AM +0200, Guido Günther wrote: > retitle 520744 _SC_GETGR_R_SIZE_MAX returned on amd64 too small > user [email protected] > usertag 520744 debian-amd64 > thanks > > Hi, > attached testcase shows that the buffersize for getgrent_r returned via > sysconf(_SC_GETGR_R_SIZE_MAX) is too small on amd64. Using the returned > 1024 byetes results in ERANGE. i386 and ppc also use 1024 bytes which > works fine. > While returning -1 is from sysconf is o.k., a too low value certainly is > not. Can this be fixed in a Lenny point release since it might break > arbitrary software on this architecture?
What is the example code supposed to do? I have no problem executing it here: $ ./group buffer size from sysconf: 1024 gid: 124 $ -- Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

