[Top][All Lists]

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

Re: LC_NUMERIC progress.

From: John Darrington
Subject: Re: LC_NUMERIC progress.
Date: Mon, 24 Dec 2012 09:40:03 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Dec 23, 2012 at 02:10:58PM -0800, Ben Pfaff wrote:
     On Sun, Dec 23, 2012 at 11:03:14PM +0100, John Darrington wrote:
     > I see that we are using dtoastr from gnulib in a few places.  There
     > does not seem to be any locale independent version of this function.
     > Either we will need to write one, or we will need to use something
     > else.
     We should probably write a c_dtoastr().  It could be pretty simple, a
     wrapper around dtoastr() that then searches for a comma and replaces it
     by a period.

Ok.  I've pushed a change which does that.

I've also changed all the occurances of dtoastr to c_dtoastr where it was 

One place I'm not sure about is in src/data/csv-file-writer.c  -- perhaps this 
also be changed, otherwise it'll produce commas which could erroneously be 
interpreted as field delimiters.


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See 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]