-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Yoann Vandoorselaere on 9/15/2006 5:40 AM: > > 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 ?
The c_* modules ARE used, particularly in gettext, in situations where locales do work and strcasestr honors locales at the expense of extra processor utilization. The point of Bruno's modules is that sometimes you _want_ LC_ALL=C semantics, but without having to change the locale and restore it afterwards. However, if we have a platform missing strcasestr, then using c_strcasestr as the substitute implementation is probably okay, because that platform would probably be broken in other areas, such as locale support, such that a locale-aware replacement strcasestr would not be worth the effort. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFCpO284KuGfSFAYARAvv5AKCAMJ6L7L72mpvHTFe5JAw1ARKyLQCeMSac 1T7boNzDv5uNBBntwyRLiGA= =tdkU -----END PGP SIGNATURE-----