summaryrefslogtreecommitdiff
path: root/lib/stat-w32.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-08-17 12:39:48 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-08-17 12:41:42 -0700
commit2a3468c9f263596815a3383c0157ba9a81cf2d24 (patch)
tree4f14654dfa314019bc808165aa7b0b0a42dd8189 /lib/stat-w32.c
parent4f91f6ba64e0aa0f086dca61b60579e8ffe53b69 (diff)
downloadgnulib-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/stat-w32.c')
0 files changed, 0 insertions, 0 deletions