On Fri, 2006-09-15 at 05:35 -0600, Eric Blake wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to Yoann Vandoorselaere on 9/15/2006 5:29 AM: > > Hi, > > > > The c-ctype, c-strcase, c-strcasestr and c-strstr modules seem only to > > implement their replacement functions using a "c_" prefix. > > > > However, there is no autoconf test implemented by these modules that > > redefine the original function (in case it is missing) to point to their > > GnuLib replacement. > > > > Is this behavior expected ? > > Which platform is missing one of these? Most implementations have a > pretty full-featured <string.h> these days; and even on platforms like > cygwin, where <string.h> is not POSIX compliant because it does not honor > alternate locales, the functions still exist and work as if LC_ALL=C. But > if you identify which platform is missing which function, we can probably > improve the module to serve as a replacement.
I recall platform missing strcasestr, although I can't remember which. Anyway, what's the purpose of these modules if they are not used anywhere ? -- Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies Tel: +33 (0)8 70 70 21 58 Fax: +33(0)4 78 42 21 58 http://www.prelude-ids.com