Artifacts Associated With Ticket 610658ffffffffffffffffffffffffffffffffff
Ticket change [fbc2d9f857] (rid 108112) by jkbonfield on 2002-09-17 16:59:49:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.4.0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jkbonfield"
- subsystem initialized to: "08. Environment Variables"
- title initialized to: "Blank environment variables on windows"
- type initialized to: "Bug"
Ticket change [af090bdd11] (rid 97738) by dkf on 2002-09-24 16:40:44:
- icomment:
Logged In: YES user_id=79902 This is how environment variables are defined to operate on Windows (which sucks, but that's been discussed before in many closed-out bugs. Blame Microsoft. Really.) Only possibly problem is that [info exists env(FOO)] succeeded the first time.
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- resolution changed to: "Duplicate"
- username: "dkf"
- icomment:
Ticket change [c4e462a390] (rid 111910) by jkbonfield on 2002-09-24 17:26:31:
- icomment:
Logged In: YES user_id=154581 The "Tcl headaches" as I put it was the real issue here; not the blank environment variables as I realise this is a windows bug. Regarding labelling as duplicate - I agree. I should have searched more thorougly. BugID 488882 is an currently open bug specifically about info exists env() so I suggest this one is closed.
- login: "jkbonfield"
- mimetype: "text/plain"
- username: "jkbonfield"
- icomment:
Ticket change [8b4965f933] (rid 127538) by hobbs on 2002-11-18 06:24:48:
- closedate changed to: "2002-11-17T23:24:48"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 dup of 488882
- login: "hobbs"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "hobbs"