On macOS, getgrouplist() returns a non-zero value without setting errno if the group list is too small. Double the list size and call it again in this case. (cherry picked from commit 8ec7370) Co-authored-by: Victor Stinner <vstinner@python.org>
|
@vstinner: Status check is done, and it's a success ✅ . |
|
@vstinner: Status check is done, and it's a success ✅ . |
On macOS, getgrouplist() returns a non-zero value without setting
errno if the group list is too small. Double the list size and call
it again in this case.
(cherry picked from commit 8ec7370)
Co-authored-by: Victor Stinner vstinner@python.org
https://bugs.python.org/issue40014