Overview
| Artifact ID: | fbc2d9f857b24674c52e070b260f5ec922ff1fae |
|---|---|
| Ticket: | 610658ffffffffffffffffffffffffffffffffff
Blank environment variables on windows |
| User & Date: | jkbonfield on 2002-09-17 16:59:49 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
MS Windows cannot deal with environment variables that are blank. It uses this as a way to unset them. I view this as a bug in Windows, but it does cause Tcl some headaches. % set env(FOO) "" % info exists env(FOO) 1 % puts env(FOO) can't read "env(FOO)": no such variable % parray env # output of environment, not including FOO % info exists env(FOO) 0 % It appears that parray updates the env cache and so resets the array elements. Under 8.3.1 this worked in as much as info exists env(FOO) would always yield 0 or a blank environment variable. James
- foundin changed to: "obsolete: 8.4.0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jkbonfield"
- subsystem changed to: "08. Environment Variables"
- title changed to: "Blank environment variables on windows"
- type changed to: "Bug"