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 clearly appropriate. One place I'm not sure about is in src/data/csv-file-writer.c -- perhaps this should also be changed, otherwise it'll produce commas which could erroneously be interpreted as field delimiters. 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.
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list pspp-dev@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-dev