r18440 - gnucash/trunk/src/engine - Fix bug 602603 - State file cannot be saved with MySQL because of colon in filename

Phil Longstaff plongstaff at code.gnucash.org
Mon Nov 23 19:07:47 EST 2009


Author: plongstaff
Date: 2009-11-23 19:07:45 -0500 (Mon, 23 Nov 2009)
New Revision: 18440
Trac: http://svn.gnucash.org/trac/changeset/18440

Modified:
   gnucash/trunk/src/engine/gnc-filepath-utils.c
Log:
Fix bug 602603 -  State file cannot be saved with MySQL because of colon in filename

When creating file names for the "books" or "data" directory under ".gnucash", convert
'/' and ':' to '_'.  This may mean state is lost for cases with a full url including
type (since the previous conversion was '/' to ','), but this will only happen once.




More information about the gnucash-patches mailing list