]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Update regarding linear string search.
authorBruno Haible <bruno@clisp.org>
Tue, 28 Mar 2023 11:13:55 +0000 (13:13 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 28 Mar 2023 11:13:55 +0000 (13:13 +0200)
* doc/glibc-functions/memmem.texi: Update platforms list.
* doc/posix-functions/strstr.texi: Likewise.
* doc/glibc-functions/strcasestr.texi: Likewise.

ChangeLog
doc/glibc-functions/memmem.texi
doc/glibc-functions/strcasestr.texi
doc/posix-functions/strstr.texi

index 80a07ae33058db20d81421ab823fb2a1914d40df..7c3459f716b52ab02ca23d95257389900a589311 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-03-28  Bruno Haible  <bruno@clisp.org>
+
+       doc: Update regarding linear string search.
+       * doc/glibc-functions/memmem.texi: Update platforms list.
+       * doc/posix-functions/strstr.texi: Likewise.
+       * doc/glibc-functions/strcasestr.texi: Likewise.
+
 2023-03-27  Bruno Haible  <bruno@clisp.org>
 
        ialloc: Add comments.
index ef5b4ffed28f926df2b9259becfd7354e4c687b0..f3bf80611c60a2a27acc9661d2abf5d7bf3fcddc 100644 (file)
@@ -40,7 +40,7 @@ glibc 2.12, Cygwin 1.7.7.
 @item
 This function returns incorrect values in some cases, such as when
 given an empty needle:
-glibc <= 2.0, Solaris 11.4, Cygwin 1.5.x.
+glibc <= 2.0, macOS 12.5, AIX 7.2, Solaris 11.3, Cygwin 1.5.x.
 @end itemize
 
 Performance problems fixed by Gnulib module @code{memmem}:
@@ -48,7 +48,7 @@ Performance problems fixed by Gnulib module @code{memmem}:
 @item
 This function has quadratic instead of linear worst-case complexity on some
 platforms:
-glibc 2.8, FreeBSD 6.2, NetBSD 9.0, AIX 5.1, Solaris 11.4, Cygwin 1.5.x.
+glibc 2.8, macOS 12.5, FreeBSD 11.4, NetBSD 8.2, OpenBSD 6.6, AIX 7.2, Solaris 11.4, Cygwin 1.5.x.
 Note for small needles the replacement may be slower.
 @end itemize
 
index 286010315554ba4aba1dd1640f1fb581a60063c1..9a7ca477cdd29c347a3cef07abf9f53c23414f96 100644 (file)
@@ -24,8 +24,7 @@ or @code{strcasestr}:
 @itemize
 @item
 This function is missing on some platforms:
-AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, Cygwin 1.5.x,
-mingw, MSVC 14.
+AIX 7.2, HP-UX 11, IRIX 6.5, Solaris 10, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function can trigger memchr bugs on some platforms:
 glibc 2.10.
@@ -43,7 +42,7 @@ Portability problems fixed by Gnulib module @code{strcasestr}:
 @item
 This function has quadratic instead of linear worst-case complexity on some
 platforms:
-glibc 2.8, FreeBSD 6.2, NetBSD 9.0, OpenBSD 4.0, Solaris 11.4.
+glibc 2.8, musl libc 1.2.3, macOS 12.5, FreeBSD 13.1, NetBSD 9.0, OpenBSD 7.2, Solaris 11.4.
 @end itemize
 
 Portability problems not fixed by Gnulib:
index 3a36cfdeeded1e3154e66ea5f43e49c223795de8..a2f711da9c2e317cfee701ff95570a91be324ea5 100644 (file)
@@ -26,7 +26,7 @@ Portability problems fixed by Gnulib module @code{strstr}:
 @item
 This function has quadratic instead of linear worst-case complexity on some
 platforms:
-glibc 2.8, macOS 11.1, FreeBSD 6.2, NetBSD 9.0, OpenBSD 4.0, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
+glibc 2.8, macOS 12.5, FreeBSD 11.4, NetBSD 9.0, OpenBSD 6.1, AIX 7.2, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @end itemize
 
 Portability problems not fixed by Gnulib: