aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-getaddrinfo2.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-04-12 17:42:35 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-10-16 14:19:23 -0300
commit4b962c9e859de23b461d61f860dbd3f21311e83a (patch)
tree990816522fcfd5b363a5a3a4b25ff41531f52feb /posix/tst-getaddrinfo2.c
parent905ae44c77a4b899100de99360823a586e095622 (diff)
downloadglibc-4b962c9e859de23b461d61f860dbd3f21311e83a.zip
glibc-4b962c9e859de23b461d61f860dbd3f21311e83a.tar.gz
glibc-4b962c9e859de23b461d61f860dbd3f21311e83a.tar.bz2
linux: Simplify opendir buffer allocation
The fallback allocation is removed, so the possible size constraint should be analyzed just once; __alloc_dir assumes that 'statp' argument is non-null, and the max_buffer_size move to close its used. Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'posix/tst-getaddrinfo2.c')
0 files changed, 0 insertions, 0 deletions