view doc/glibc-functions/strcasestr.texi @ 18029:e4a13d95b503

mgetgroups: port to strict OS X * doc/glibc-functions/getgrouplist.texi (getgrouplist): Document the getgrouplist problem. * lib/mgetgroups.c (getgrouplist_gids) [HAVE_GETGROUPLIST]: New macro. (mgetgroups): Use it. * m4/mgetgroups.m4 (gl_MGETGROUPS): Check for OS X signature for getgrouplist.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 28 Jun 2015 23:43:35 -0700
parents da62858ef2f6
children
line wrap: on
line source

@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 1.5.x,
mingw, MSVC 9, BeOS.

@item
This function can trigger memchr bugs on some platforms:
glibc 2.10.

@item
This function can trigger false positives for long periodic needles on
some platforms:
glibc 2.12, Cygwin 1.7.7.
@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 5.0, OpenBSD 4.0, Solaris 11 2011-11.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize