diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-08-17 12:39:48 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-08-17 12:41:42 -0700 |
commit | 2a3468c9f263596815a3383c0157ba9a81cf2d24 (patch) | |
tree | 4f14654dfa314019bc808165aa7b0b0a42dd8189 /lib/gc-pbkdf2-sha1.c | |
parent | 4f91f6ba64e0aa0f086dca61b60579e8ffe53b69 (diff) | |
download | gnulib-2a3468c9f263596815a3383c0157ba9a81cf2d24.tar.gz |
careadlinkat: speedup for GCC 10 with GCC_LINT
Inspired by a suggestion by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2020-08/msg00155.html
* lib/careadlinkat.c (STACK_BUF_SIZE): New constant.
(readlink_stk): New function, with most of the old careadlinkat
contents and with a new STACK_BUF arg. Inline it in GCC 10
if GCC_LINT.
(careadlinkat): Use the new function for everything but the
stack buffer.
Diffstat (limited to 'lib/gc-pbkdf2-sha1.c')
0 files changed, 0 insertions, 0 deletions