diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-17 10:27:40 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-17 12:04:35 -0700 |
commit | 0a4e0cab0dbb2a70e26484e32378784b5106ae08 (patch) | |
tree | 4e9a5f08b9250ba4fb23625803cc63b5862e6426 /modules/timespec-add | |
parent | 8c4d0fbf4c45df8e86acbb338b154930c5498dc3 (diff) | |
download | gnulib-0a4e0cab0dbb2a70e26484e32378784b5106ae08.tar.gz |
nstrftime: suggest to glibc how to avoid alloca
* lib/nstrftime.c (widen) [COMPILE_WIDE]: Remove.
(__strftime_internal) [COMPILE_WIDE): Instead of converting the
multibyte time zone abbreviation into a potentially unbounded
alloca buffer, convert it directly into the output buffer.
Although this code is not used in Gnulib, this can help the glibc
developers avoid the problem on the glibc side.
Diffstat (limited to 'modules/timespec-add')
0 files changed, 0 insertions, 0 deletions