diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-04-12 17:42:35 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-10-16 14:19:23 -0300 |
commit | 4b962c9e859de23b461d61f860dbd3f21311e83a (patch) | |
tree | 990816522fcfd5b363a5a3a4b25ff41531f52feb /string/strspn.c | |
parent | 905ae44c77a4b899100de99360823a586e095622 (diff) | |
download | glibc-4b962c9e859de23b461d61f860dbd3f21311e83a.tar.gz glibc-4b962c9e859de23b461d61f860dbd3f21311e83a.tar.xz glibc-4b962c9e859de23b461d61f860dbd3f21311e83a.zip |
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 'string/strspn.c')
0 files changed, 0 insertions, 0 deletions