pspp-dev
[Top][All Lists]
Advanced

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

Re: Locale vs. Number formatting


From: John Darrington
Subject: Re: Locale vs. Number formatting
Date: Wed, 5 Dec 2012 10:28:59 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Dec 04, 2012 at 11:18:25PM -0800, Ben Pfaff wrote:
     
     It looks like it would be more or less trivial to implement
     c_*printf() based on vasnprintf, using a source file like
     lib/unistdio/u8-vasnprintf.c but adding:
     
         #define decimal_point_char_defined 1
         static char
         decimal_point_char (void)
         {
             return '.';
         }
     
     anywhere before the #include "vasnprintf.c", to define a
     c_vasnprintf(), then base the other c_*printf() off that in the
     same way as e.g. lib/unistdio/u8-snprintf.c.

I think you are right.  There is no fundamental problem.  Only the naunces
of gnulib  to be aware of.

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]