r20189 - gnucash/trunk/src/backend/dbi - Handle localization-ignorance bug in libdbi by setting LC_NUMERIC locale

John Ralls jralls at code.gnucash.org
Fri Jan 28 16:35:51 EST 2011


Author: jralls
Date: 2011-01-28 16:35:50 -0500 (Fri, 28 Jan 2011)
New Revision: 20189
Trac: http://svn.gnucash.org/trac/changeset/20189

Modified:
   gnucash/trunk/src/backend/dbi/gnc-backend-dbi.c
Log:
Handle localization-ignorance bug in libdbi by setting LC_NUMERIC locale 
to "C" before calling dbi_result_get_double() and back afterwards. This 
is not thread-safe, but we're not multithreaded yet.
 




More information about the gnucash-patches mailing list