summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-03-23 19:18:41 (GMT)
committerGitHub <noreply@github.com>2020-03-23 19:18:41 (GMT)
commit21bee0bd71e1ad270274499f9f58194ebb52e236 (patch)
tree8681f28fefb483a99aeb3bb4c105092a083677bd /Python/pystate.c
parentc959fa9353b92ce95dd7fe3f25fe65bacbe22338 (diff)
downloadcpython-21bee0bd71e1ad270274499f9f58194ebb52e236.zip
cpython-21bee0bd71e1ad270274499f9f58194ebb52e236.tar.gz
cpython-21bee0bd71e1ad270274499f9f58194ebb52e236.tar.bz2
bpo-40014: Fix os.getgrouplist() on macOS (GH-19118)
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 8ec7370c89aa522602eb9604086ce9f09770953d) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions