Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7900>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to