+2002-06-04 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * tkcon.tcl (Init): convert env(home) from 'C:' to 'C:/' if necessary.
+
2002-06-03 Jeff Hobbs <jeffh@ActiveState.com>
* tkcon.tcl: fixed Retrieve to use the proxy info (Thoyts).
}
}
if {[info exists env($envHome)]} {
+ set home $env($envHome)
+ if {[file pathtype $home] == "volumerelative"} {
+ # Convert 'C:' to 'C:/' if necessary, innocuous otherwise
+ append home /
+ }
if {![info exists PRIV(rcfile)]} {
- set PRIV(rcfile) [file join $env($envHome) $rcfile]
+ set PRIV(rcfile) [file join $home $rcfile]
}
if {![info exists PRIV(histfile)]} {
- set PRIV(histfile) [file join $env($envHome) $histfile]
+ set PRIV(histfile) [file join $home $histfile]
}
}