diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-03-01 19:03:01 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-25 06:19:30 +0200 |
commit | 34ddffb50c2d2159c152cc34516f4c4088b3cc36 (patch) | |
tree | 05dcd2431e343c50634073864cf389ba4640dbe3 /nptl/tst-cancel23.c | |
parent | 4e10cf98c38e471f1c0637150c51fa2935b271fa (diff) | |
download | glibc-34ddffb50c2d2159c152cc34516f4c4088b3cc36.tar.gz |
getent: Switch to struct scratch_buffer in initgroups_keys
The retry loop is slightly different here because getgrouplist
provides size information, so scratch_buffer_set_array_size can be
used to grow the buffer in a more precise fashion.
[BZ #18023]
* nss/getent.c (initgroups_keys): Use struct scratch_buffer
instead of extend_alloca.
Diffstat (limited to 'nptl/tst-cancel23.c')
0 files changed, 0 insertions, 0 deletions