* m4/getaddrinfo.m4 (gl_GETADDRINFO): Define a pointer to pass to
getaddrinfo where it allocates and stores the result.
+2025-03-04 Collin Funk <collin.funk1@gmail.com>
+
+ getaddrinfo: Fix AI_NUMERICSERV configure check on GCC 14 (regr. 2025-02-12).
+ * m4/getaddrinfo.m4 (gl_GETADDRINFO): Define a pointer to pass to
+ getaddrinfo where it allocates and stores the result.
+
2025-03-03 Bruno Haible <bruno@clisp.org>
doc: Update publication recipe.
# getaddrinfo.m4
-# serial 37
+# serial 38
dnl Copyright (C) 2004-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
#include <string.h>
]], [[
struct addrinfo hints;
- struct addrinfo ai;
+ struct addrinfo *ai;
memset (&hints, 0, sizeof (hints));
hints.ai_flags = AI_NUMERICSERV;
return getaddrinfo ("www.gnu.org", "http", &hints, &ai) != EAI_NONAME;