Bug 752204 - .gml2 files are modified during build, take 2.

Turns out that there are changes as well as compression, particularly
if the timezone is different from the one from the last commit of the
gml2 files. Since there's no real benefit to saving the files most of
the time, don't, but leave the save line in, commented out, to make it
easy to write new files if necessary.
This commit is contained in:
John Ralls 2015-07-11 09:55:06 -07:00
parent a25fa861eb
commit 211b923cd7

View File

@ -92,7 +92,7 @@ test_load_file(const char *filename)
remove_locks(filename);
ignore_lock = (g_strcmp0(g_getenv("SRCDIR"), ".") != 0);
gnc_prefs_set_file_save_compressed(FALSE);
/* gnc_prefs_set_file_save_compressed(FALSE); */
qof_session_begin(session, filename, ignore_lock, FALSE, TRUE);
qof_session_load(session, NULL);
@ -107,8 +107,7 @@ test_load_file(const char *filename)
"qof error=%d for file [%s]",
qof_session_get_error(session), filename);
/* Uncomment the line below to generate corrected files */
gnc_prefs_set_file_save_compressed(FALSE);
qof_session_save( session, NULL );
/* qof_session_save( session, NULL ); */
qof_session_end(session);
}