r19250 - gnucash/trunk/src - Bug #615347 - Use enforced, consistent data file extension across supported platforms

Geert Janssens gjanssens at code.gnucash.org
Sat Jun 12 05:23:52 EDT 2010


Author: gjanssens
Date: 2010-06-12 05:23:51 -0400 (Sat, 12 Jun 2010)
New Revision: 19250
Trac: http://svn.gnucash.org/trac/changeset/19250

Modified:
   gnucash/trunk/src/backend/xml/gnc-backend-xml.c
   gnucash/trunk/src/core-utils/gnc-uri-utils.c
   gnucash/trunk/src/core-utils/gnc-uri-utils.h
   gnucash/trunk/src/gnome-utils/gnc-file.c
Log:
Bug #615347 - Use enforced, consistent data file extension across supported platforms

The choice has fallen on ".gnucash". This extension will be added to all filenames that don't have it already when a user chooses "Save As...". Obviously this is only done for files, not for database storage. The backup files will from now on also end in ".gnucash" instead of the previous ".xac". The code that removes old backup files scans for both extensions to ensure that backup files still available with the ".xac" extension are rotated as well.



More information about the gnucash-patches mailing list