diff options
author | Victor Stinner <vstinner@python.org> | 2020-03-24 17:22:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 17:22:10 (GMT) |
commit | f5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7 (patch) | |
tree | 3fcf2f5173005198c8a959fc03195220e74ab53f /Python/errors.c | |
parent | 4b3252cb764807fdb3a661b458d43e4af55cf4df (diff) | |
download | cpython-f5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7.zip cpython-f5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7.tar.gz cpython-f5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7.tar.bz2 |
bpo-40014: Fix os.getgrouplist() (GH-19126)
Fix os.getgrouplist(): if getgrouplist() function fails because the
group list is too small, retry with a larger group list.
On failure, the glibc implementation of getgrouplist() sets ngroups
to the total number of groups. For other implementations, double the
group list size.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions