r23660 - gnucash/trunk/src/bin - Bug 721260 - Crash on startup: gnucash cannot handle default locale

John Ralls jralls at code.gnucash.org
Tue Dec 31 17:36:37 EST 2013


Author: jralls
Date: 2013-12-31 17:36:36 -0500 (Tue, 31 Dec 2013)
New Revision: 23660
Trac: http://svn.gnucash.org/trac/changeset/23660

Modified:
   gnucash/trunk/src/bin/gnucash-bin.c
Log:
Bug 721260 - Crash on startup: gnucash cannot handle default locale

Actually, Guile can't handle weird locales, which OS X 10.9 lets
one set. Guile will throw an exception.

This patch avoids the problem by ensuring that the locale is set to
something that setlocale() will work with, ideally in the language
indicated by defaults.



More information about the gnucash-patches mailing list