r14542 - gnucash/trunk - On windows, deactivate gnucash's extra de-quoting of path names that is done on the GNC_MODULE_PATH env variable.

Christian Stimming cstim at cvs.gnucash.org
Tue Jul 18 11:41:56 EDT 2006


Author: cstim
Date: 2006-07-18 11:41:55 -0400 (Tue, 18 Jul 2006)
New Revision: 14542
Trac: http://svn.gnucash.org/trac/changeset/14542

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/gnc-module/gnc-module.c
Log:
On windows, deactivate gnucash's extra de-quoting of path names that is done on the GNC_MODULE_PATH env variable.

Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-07-18 13:49:01 UTC (rev 14541)
+++ gnucash/trunk/ChangeLog	2006-07-18 15:41:55 UTC (rev 14542)
@@ -1,3 +1,9 @@
+2006-07-18   Christian Stimming <stimming at tuhh.de>
+
+	* 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  <derek at ihtfp.com>
 
 	* configure.in:

Modified: gnucash/trunk/src/gnc-module/gnc-module.c
===================================================================
--- gnucash/trunk/src/gnc-module/gnc-module.c	2006-07-18 13:49:01 UTC (rev 14541)
+++ gnucash/trunk/src/gnc-module/gnc-module.c	2006-07-18 15:41:55 UTC (rev 14542)
@@ -67,6 +67,13 @@
   {
     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 @@
         escchar = FALSE;
       }
       break;
+#endif
       
     case ':':
       if(!escchar) 



More information about the gnucash-changes mailing list