diff options
author | Bruno Haible <bruno@clisp.org> | 2021-01-07 02:06:17 +0100 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-04 16:44:24 -0300 |
commit | 1b3fc33f810b605e0e6dfcba96dddae432ccaab3 (patch) | |
tree | 00ef0dc42d3fb920c9294b9b90bbfe0f74aa7414 /misc/gtty.c | |
parent | 5ec029c8835b71d7a3d6036c9358198b4d9e59fc (diff) | |
download | glibc-1b3fc33f810b605e0e6dfcba96dddae432ccaab3.tar glibc-1b3fc33f810b605e0e6dfcba96dddae432ccaab3.tar.gz glibc-1b3fc33f810b605e0e6dfcba96dddae432ccaab3.tar.bz2 glibc-1b3fc33f810b605e0e6dfcba96dddae432ccaab3.zip |
argp: Don't rely on undefined behaviour of _tolower().
Patch by Eric Blake
<https://lists.gnu.org/archive/html/bug-gnulib/2009-09/msg00287.html>.
* argp/argp-help.c (hol_entry_cmp): Don't use _tolower on values that are
not upper-case. Pass correct range to tolower.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'misc/gtty.c')
0 files changed, 0 insertions, 0 deletions