glibc now has a worst-case O(n) wcsstr() function, see https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=cf11e74b0d81d389bcad5cdbba020ba475f0ac4b
2024-04-19 Bruno Haible <br...@clisp.org> wcsstr: Update doc. * doc/posix-functions/wcsstr.texi: Update glibc version. diff --git a/doc/posix-functions/wcsstr.texi b/doc/posix-functions/wcsstr.texi index e4715dba64..11815d1a24 100644 --- a/doc/posix-functions/wcsstr.texi +++ b/doc/posix-functions/wcsstr.texi @@ -18,7 +18,7 @@ @item This function has quadratic instead of linear worst-case complexity on some platforms: -glibc 2.37, macOS 12.5, FreeBSD 13.1, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14. +glibc 2.39, macOS 12.5, FreeBSD 13.1, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14. @end itemize Portability problems not fixed by Gnulib: