glibc/string/bits
Sergei Trofimovich 14770f3e04 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>
(cherry picked from commit 5a5f94af05)
2022-05-23 14:06:31 +05:30
..
endian.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
string_fortified.h string.h: fix __fortified_attr_access macro call [BZ #29162] 2022-05-23 14:06:31 +05:30
strings_fortified.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00