Message99631
| Author |
Alexander.Belopolsky |
| Recipients |
Alexander.Belopolsky, l0nwlf, loewis, michael.foord, orsenthil, ronaldoussoren |
| Date |
2010年02月20日.20:43:34 |
| SpamBayes Score |
1.721131e-08 |
| Marked as misclassified |
No |
| Message-id |
<1266698617.49.0.943459516922.issue7900@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|