xputil does not properly handle Windows environment variables.  It interprets the "\" 
path separator and ";" that is to distinguish multiple paths in Windows environment as 
Tcl significant.

Here is the patch:

Index: xputils.tcl
===================================================================
RCS file: /cvsroot/tcljava/src/xputils/xputils.tcl,v
retrieving revision 1.1
diff -u -r1.1 xputils.tcl
--- xputils.tcl 2000/04/08 04:25:39     1.1
+++ xputils.tcl 2000/09/19 05:03:08
@@ -108,7 +108,7 @@
 
 proc XpUtils::appendpath { var elem } {
     set sep [XpUtils::getPathSeparator]
-    uplevel 1 append $var $sep$elem
+    uplevel 1 [list append $var $sep$elem]
 }
 
 
@@ -119,8 +119,8 @@
     set sep [XpUtils::getPathSeparator]
 
     set tmp [uplevel 1 set $var]
-    uplevel 1 set $var ${elem}${sep}
-    uplevel 1 append $var $tmp
+    uplevel 1 [list set $var ${elem}${sep}]
+    uplevel 1 [list append $var $tmp]
 }
 
 




----------------------------------------------
[EMAIL PROTECTED] is brought to you by 
the Stanford Alumni Association and Critical Path.

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to