Skip to content
Commit 5ec029c8 authored by Paul Eggert's avatar Paul Eggert Committed by Adhemerval Zanella
Browse files

argp: fix pointer-subtraction bug

* argp/argp-help.c (hol_append): Don't subtract pointers to
different arrays, as this can run afoul of -fcheck-pointer-bounds.
See the thread containing Bruno Haible's report in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-05/msg00171.html



Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent dfc3907c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment