+2023-06-25 Bruno Haible <bruno@clisp.org>
+
+ strncat: Update doc regarding Solaris 11.4.
+ * doc/posix-functions/strncat.texi: Mention that the bug still exists on
+ Solaris 11.4.
+ * m4/strncat.m4 (gl_FUNC_STRNCAT): Update comments.
+
2023-06-25 Bruno Haible <bruno@clisp.org>
thread: Avoid compiler warnings on Solaris.
@itemize
@item
This function dereferences too much memory on some platforms:
-Solaris 10 on SPARC, Solaris 11.0 on x86.
+Solaris 11.4 on SPARC, Solaris 11.0 on x86.
@item
This function cannot be called from plain inline or extern inline functions
on some platforms:
-# strncat.m4 serial 6
+# strncat.m4 serial 7
dnl Copyright (C) 2002-2004, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_CHECK_HEADERS_ONCE([sys/mman.h])
AC_CHECK_FUNCS_ONCE([mprotect])
- dnl Detect bug in Solaris 8..10 on SPARC and Solaris 11.0 on x86:
+ dnl Detect bug in Solaris 8..11.4 on SPARC and Solaris 11.0 on x86:
dnl strncat should not dereference more than n bytes, but always dereferences
dnl n+1 bytes if the first n bytes don't contain a NUL byte.
dnl Assume that strncat works on platforms that lack mprotect.