Hash :
a3721792
Author :
Date :
2008-05-15T06:16:11
Glibc finally accepted the memmem speedup code, bugzilla #5514. * doc/glibc-functions/memmem.texi (memmem): Mention last broken glibc version. * doc/glibc-functions/strcasestr.texi (strcasestr): Likewise. * doc/posix-functions/strstr.texi (strstr): Likewise. * lib/str-two-way.h (MAX): Sychronize with glibc. Signed-off-by: Eric Blake <ebb9@byu.net>
@node strcasestr
@subsection @code{strcasestr}
@findex strcasestr
Gnulib module: strcasestr or strcasestr-simple
Portability problems fixed by either Gnulib module @code{strcasestr-simple}
or @code{strcasestr}:
@itemize
@item
This function is missing on some platforms:
AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, BeOS.
@end itemize
Portability problems fixed by Gnulib module @code{strcasestr}:
@itemize
@item
This function has quadratic instead of linear worst-case complexity on some
platforms:
glibc 2.8, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize