Overview
| Artifact ID: | 81b56a083417529384d1bc21dd384b310f99184b |
|---|---|
| Ticket: | 845241ffffffffffffffffffffffffffffffffff
Unsetting env vars in slave interps |
| User & Date: | sbron on 2003-11-19 16:43:19 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
When an evironment variable has been unset in a slave interpreter it is left in some strange state: - info exists reports the variable still exists - set and $env report the variable doesn't exist - using an upvar alias the variable still has its original value Tested on Linux 2.4.20 and windows 98. Code to reproduce the problem (use some existing environment variable): puts $env(SHELL) interp create i i eval {unset env(SHELL)} catch {set env(SHELL)} msg puts $msg puts [info exists env(SHELL)] upvar 0 env(SHELL) foo puts $foo - foundin changed to: "obsolete: 8.4.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "sbron"
- subsystem changed to: "08. Environment Variables"
- title changed to: "Unsetting env vars in slave interps"
- type changed to: "Bug"