Re: ascii string comparison [Re: use C locale for LC_CTYPE]
Johannes Hofmann <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Nov 06, 2011 at 04:03:47AM +0000, corvid wrote: > I wrote: > > Johannes wrote: > > > Or maybe > > > test for strncasecmp_l() in configure and provide a custom solution > > > if it doesn't exist? > > > > I'm willing to give that a look as well. At first I was reluctant to > > have extra locale calls when the string functions are so cheap to > > begin with, but... > > I thought the extra argument to the *_l functions was a string like "C", > but it's a locale_t, which also appears to be something new. This makes > it not very nice to simulate. Hmph. I'd just go with the approach in your first patch.