On Fri, Mar 11, 2016 at 06:24:05AM +0100, Joerg Sonnenberger wrote:
> On Fri, Mar 11, 2016 at 07:53:16AM +0700, Robert Elz wrote:
> > One of those changes was to stop using the shell's own private isalpha()
> > macros (they have different names - and "stop using" meant to redefine them
> > in terms of <ctype.h> and isalpha() etc.)
> 
> We can also switch to using isalpha_l and friends with explicit C
> locale.

For the C locale you want isalpha_C() that uses the C locale without
doing any kind of locale lookup.
ie functions that just index a const global ctype[] data array.

        David

-- 
David Laight: da...@l8s.co.uk

Reply via email to