bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question concerning c-ctype, c-strcase, c-strcasestr and c-strstr mo


From: Yoann Vandoorselaere
Subject: Re: Question concerning c-ctype, c-strcase, c-strcasestr and c-strstr modules
Date: Tue, 14 Nov 2006 00:26:47 +0100

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.

Solaris 9 apparently lack the strcasestr() function. Might we modify the
c-strcasestr module so that it provide a replacement for platform
lacking the function now that one is identified?

-- 
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]