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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>
>> 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...

The first patch was discussed here:

  http://thread.gmane.org/gmane.comp.emulators.libvirt/6353

> 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 ?

That's right.
It's the c-ctype module.

  http://www.gnu.org/software/gnulib/MODULES.html#module=c-ctype

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]