Commit 1cdc61c
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>
1 parent 5765aca commit 1cdc61c
2 files changed
Lines changed: 22 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6178 | 6178 | | |
6179 | 6179 | | |
6180 | 6180 | | |
| 6181 | + | |
| 6182 | + | |
| 6183 | + | |
| 6184 | + | |
| 6185 | + | |
| 6186 | + | |
| 6187 | + | |
| 6188 | + | |
| 6189 | + | |
| 6190 | + | |
| 6191 | + | |
| 6192 | + | |
| 6193 | + | |
| 6194 | + | |
| 6195 | + | |
| 6196 | + | |
| 6197 | + | |
| 6198 | + | |
6181 | 6199 | | |
6182 | 6200 | | |
6183 | 6201 | | |
6184 | 6202 | | |
| 6203 | + | |
6185 | 6204 | | |
6186 | 6205 | | |
6187 | 6206 | | |
| |||
0 commit comments