Eric Blake wrote: > Here's what I'm committing for strcasestr, including a strcasestr-simple > module, and the first attempt at a glibc function extensions chapter.
Thanks for this! I've now extended the glibc function extensions chapter. > --- /dev/null > +++ b/doc/functions/strcasestr.texi > @@ -0,0 +1,29 @@ > [EMAIL PROTECTED] strcasestr > [EMAIL PROTECTED] @code{strcasestr} > [EMAIL PROTECTED] strcasestr > + > +Unspecified by POSIX, but comparable to a mix of @code{strstr} and > [EMAIL PROTECTED] > + > +Gnulib module: strcasestr or strcasestr-simple > + > +Portability problems fixed by either Gnulib module @code{strcasestr-simple} > +or @code{strcasestr}: > [EMAIL PROTECTED] > [EMAIL PROTECTED] > +This function is missing on some platforms: > +MacOS X 10.3, FreeBSD 5.2.1, OpenBSD 4.0, AIX 4.3.2, HP-UX 11, IRIX > +6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS. > [EMAIL PROTECTED] itemize The list of platforms is not right. I have corrected it while moving the doc. You can get this portability info from the database that I have uploaded to http://www.haible.de/bruno/various-symlists.tar.gz $ ./show-portability strcasestr libc freebsd-5.2.1 libc freebsd-6.0 libc glibc-2.3.6 libc interix-3.5 libc macosx-10.3 libc netbsd-3.0 libc openbsd-3.8 libc pips MISSING in aix-4.3.2 aix-5.1.0 beos cygwin hpux-11.00 hpux-11.11 irix-6.5 mingw nsk-G06 osf1-4.0d osf1-5.1a solaris-2.10 solaris-2.4 solaris-2.5.1 solaris-2.6 solaris-2.7 solaris-2.8 solaris-2.9 $ ./show-portability --doc strcasestr AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, BeOS. > | We can also introduce a strstr-simple module that does nothing, just for > | orthogonality? (It does nothing because all platforms have some strstr > | function.) > > I'm hesitant here. strstr-simple would truly be a no-op - there is > nothing that it provides other than an orthoganally-named module OK, let's drop this idea. Bruno 2008-01-19 Bruno Haible <[EMAIL PROTECTED]> * doc/glibc-functions/strcasestr.texi: Include contents of doc/functions/strcasestr.texi, fixing the list of platforms. * doc/functions/strcasestr.texi: Remove file. http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=398c3b9ba95888804ed35f380bcaead0a493baa7 2008-01-19 Bruno Haible <[EMAIL PROTECTED]> * doc/glibc-functions/memmem.texi: Include contents of doc/functions/memmem.texi. * doc/functions/memmem.texi: Remove file. http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=e606e4f86f58f108829f84777e565eebd0a467e7