[libvirt] [PATCH] start using c-ctype functions

Daniel P. Berrange berrange at redhat.com
Thu May 15 16:02:40 UTC 2008


On Thu, May 15, 2008 at 05:56:57PM +0200, Jim Meyering wrote:
> 
> >From db0ed598dfc045f3937a3629a432d2d703449f50 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering at redhat.com>
> Date: Wed, 14 May 2008 23:06:15 +0200
> Subject: [PATCH] start using c-ctype functions
> 
> Up to now, we've been avoiding ctype functions like isspace, isdigit, etc.
> Now that we have the c-ctype functions, we can start using them to make
> the code more readable with changes like these:

I must have missed the previous discussion of c-ctype functions...

What are the c-ctype functions and where do they come from ?  I'm guessing
from the description, they're variants of ctype functions which are 
guarenteed to operate in the C/USASCII  locale, regardless of LANG setting.
Are they from gnulib ?

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list