bug-gnulib
[Top][All Lists]
Advanced

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

C locale *printf functions ?


From: John Darrington
Subject: C locale *printf functions ?
Date: Wed, 5 Dec 2012 06:48:08 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Gnulib has a number of c-* variants of string processing functions,
eg c-strtod, c-strcasecmp etc  But notably absent are any locale
independent printf routines.   We could use some in PSPP.

So far as I can see, this could be achieved relatively easily, by
arranging for the decimal_point_char function in vasnprintf.c to 
simply return '.'

There would of course, then need to be a number of wrappers to 
produce all the necessary variants.  Would Gnulib accept such a
patch?

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]