Barry A. Warsaw <ba...@python.org> added the comment:
I really have no idea what's going on. I've looked at posixmodule.c and tried to reproduce as best I can in a standalone C program. In both cases getgroups(0, NULL) returns 15. In the standalone version, when I then call getgroups(15, grouplist), I again get 15 returned and grouplist is properly filled. But in posixmodule.c case, I get 1 back group that second call. I honestly can't see any difference or why this could be happening. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35070> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com