[Bug 390532] GKeyFile breaks old gnucash files

glib (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Dec 29 18:29:30 UTC 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=390532

  glib | general | Ver: 2.12.x





------- Comment #4 from Matthias Clasen  2006-12-29 18:27 UTC -------
Convert them to an acceptable format before using gkeyfile to load them ?
Should not be more than 5 lines, using g_file_[get|set)_contents() and
the C equivalent of

s/^ *//
s/ *=/=/
s/ \([^=]*=\)/_\1/


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



More information about the pkg-gnome-maintainers mailing list