Message99630
It looks like the current implementation is not POSIX compliant because it assumes that NGROUPS_MAX is compile time constant. However, according to <http://www.opengroup.org/onlinepubs/000095399/functions/getgroups.html>, "Application writers should note that {NGROUPS_MAX} is not necessarily a constant on all implementations."
I would suggest using my _DARWIN_C_SOURCE implementation unconditionally and make similar changes to posix_setgroups, but this is probably a subject for a separate issue. |
|
Date |
User |
Action |
Args |
2010-02-20 20:43:27 | Alexander.Belopolsky | set | recipients:
+ Alexander.Belopolsky, loewis, ronaldoussoren, orsenthil, michael.foord, l0nwlf |
2010-02-20 20:43:27 | Alexander.Belopolsky | set | messageid: <1266698607.3.0.13844116025.issue7900@psf.upfronthosting.co.za> |
2010-02-20 20:43:25 | Alexander.Belopolsky | link | issue7900 messages |
2010-02-20 20:43:25 | Alexander.Belopolsky | create | |
|