|
From: | Paul Eggert |
Subject: | Re: Integer overflows in memchr |
Date: | Mon, 1 Jul 2024 23:36:17 +0100 |
User-agent: | Mozilla Thunderbird |
On 7/1/24 02:16, Po Lu wrote:
but Gnulib (and by extension Emacs) does not invoke the Autoconf test: AC_DEFUN([gl_FUNC_STRNLEN], [ AC_REQUIRE([gl_STRING_H_DEFAULTS]) dnl Persuade glibc <string.h> to declare strnlen(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([strnlen]) <------------------------------------ if test $ac_cv_have_decl_strnlen = no; then HAVE_DECL_STRNLEN=0 else m4_pushdef([AC_LIBOBJ], [:]) dnl Note: AC_FUNC_STRNLEN does AC_LIBOBJ([strnlen]).
The line immediately after the last line you quoted is: AC_FUNC_STRNLEN and that invokes the Autoconf test.
[Prev in Thread] | Current Thread | [Next in Thread] |