From b4f6de5b350f6860edb4b0a4709793b45b329358 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Tue, 18 Jul 2006 15:41:55 +0000 Subject: [PATCH] On windows, deactivate gnucash's extra de-quoting of path names that is done on the GNC_MODULE_PATH env variable. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14542 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 6 ++++++ src/gnc-module/gnc-module.c | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index da015996df..80f901d9cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-07-18 Christian Stimming + + * src/gnc-module/gnc-module.c: On windows, deactivate gnucash's + extra de-quoting of path names that is done on the GNC_MODULE_PATH + env variable. + 2006-07-16 Derek Atkins * configure.in: diff --git a/src/gnc-module/gnc-module.c b/src/gnc-module/gnc-module.c index 76187b38b9..0c0eba9faf 100644 --- a/src/gnc-module/gnc-module.c +++ b/src/gnc-module/gnc-module.c @@ -67,6 +67,13 @@ gnc_module_system_search_dirs(void) { switch(*cpos) { +#ifndef G_OS_WIN32 + /* On windows, with '\' as the directory separator character, + this additional de-quoting will make every path processing + fail miserably. Anyway this should probably be thrown out + altogether, because this additional level of de-quoting + (after shell quoting) is completely unexpected and + uncommon. */ case '\\': if(!escchar) { @@ -78,6 +85,7 @@ gnc_module_system_search_dirs(void) escchar = FALSE; } break; +#endif case ':': if(!escchar)