r18699 - gnucash/trunk - Ensure that GNC_DOT_PATH and other gnc_dotgnucash_dir() logic is

Christian Stimming stimming at tuhh.de
Sun Feb 28 08:20:57 EST 2010


Dear John,

Am Freitag, 26. Februar 2010 schrieb Phil Longstaff:
> On Sat, 2010-02-20 at 17:01 -0500, John Ralls wrote:
> > Author: jralls
> > Date: 2010-02-20 17:01:05 -0500 (Sat, 20 Feb 2010)
> > New Revision: 18699
> > Trac: http://svn.gnucash.org/trac/changeset/18699
> > Log:
> >     Ensure that GNC_DOT_PATH and other gnc_dotgnucash_dir() logic is
> >     used for all cases, remove hard-coded references to /usr/etc,
> 
> I think this change introduced bug 610707: attempting SaveAs to XML file
> resulted in sqlite3 file.
>  https://bugzilla.gnome.org/show_bug.cgi?id=610707

I think if bug#610707 is caused by your commit, it is most likely only due to 
the following hunk:

>@@ -338,15 +228,6 @@ xaccResolveURL (const char * pathfrag)
> 	}
>   }
>   g_list_free(list);
>-
>-  /* "file:" and "xml:" are handled specially */
>-  if (!g_ascii_strncasecmp (pathfrag, "file:", 5)) {
>-    return (xaccResolveFilePath (pathfrag));
>-  }
>-  if (!g_ascii_strncasecmp (pathfrag, "xml:", 4)) {
>-    return (g_strdup_printf( "xml:%s", xaccResolveFilePath (pathfrag)) );
>-  }
>-
>   return (xaccResolveFilePath (pathfrag));
> }

By your r18699 commit, this "xml: is handled specially" was removed. Maybe 
only this part needs to be added again and all is fine?

Regards,

Christian


More information about the gnucash-devel mailing list