]> Savannah Git Hosting - gnulib.git/commitdiff
strncat: Update doc regarding Solaris 11.4.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Jun 2023 18:42:59 +0000 (20:42 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Jun 2023 18:42:59 +0000 (20:42 +0200)
* doc/posix-functions/strncat.texi: Mention that the bug still exists on
Solaris 11.4.
* m4/strncat.m4 (gl_FUNC_STRNCAT): Update comments.

ChangeLog
doc/posix-functions/strncat.texi
m4/strncat.m4

index 55d348d3c35464c7713491faf741bfef72e935d7..7f4367b0b777be59cd9c705d9993952d66379ceb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
index 365c37ee659a0b23daf7a2866e588931934e4b10..4926f28c9db26fac0aef23deeca200066eeced4d 100644 (file)
@@ -10,7 +10,7 @@ Portability problems fixed by Gnulib:
 @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:
index d8101457f8a5df44f89b39d97dbf5524545c6b03..1cef7aade04ca43bdb3a6a488866f05853dbacf1 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -15,7 +15,7 @@ AC_DEFUN_ONCE([gl_FUNC_STRNCAT],
   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.