Yoann Vandoorselaere wrote: > 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 ?
Yes. These modules are not "replacement" functions; they define functions of their own, not specified by POSIX. c-ctype, c-strcase, c-strcasestr are useful if you explicitly don't want locale-dependent behaviour (for example, if you know that the strings are ASCII strings and you want treat 'i' and 'I' the same, even if operating in a Turkish locale). c-strstr is a speedup for strstr, applicable in certain cases (see c-strstr.h for details). Bruno