diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-05-23 13:56:43 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-05-23 13:56:43 +0530 |
commit | 5a5f94af0542f9a35aaa7992c18eb4e2403a29b9 (patch) | |
tree | f79ceb03bfc867ddfe1d62139304afbc7d04abf5 /stdio-common/vfprintf-process-arg.c | |
parent | 2d5ec6692f5746ccb11db60976a6481ef8e9d74f (diff) | |
download | glibc-5a5f94af0542f9a35aaa7992c18eb4e2403a29b9.zip glibc-5a5f94af0542f9a35aaa7992c18eb4e2403a29b9.tar.gz glibc-5a5f94af0542f9a35aaa7992c18eb4e2403a29b9.tar.bz2 |
string.h: fix __fortified_attr_access macro call [BZ #29162]
commit e938c0274 "Don't add access size hints to fortifiable functions"
converted a few '__attr_access ((...))' into '__fortified_attr_access (...)'
calls.
But one of conversions had double parentheses of '__fortified_attr_access (...)'.
Noticed as a gnat6 build failure:
/<<NIX>>-glibc-2.34-210-dev/include/bits/string_fortified.h:110:50: error: macro "__fortified_attr_access" requires 3 arguments, but only 1 given
The change fixes parentheses.
This is seen when using compilers that do not support
__builtin___stpncpy_chk, e.g. gcc older than 4.7, clang older than 2.6
or some compiler not derived from gcc or clang.
Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'stdio-common/vfprintf-process-arg.c')
0 files changed, 0 insertions, 0 deletions