Overview
| Artifact ID: | 64a668ec30444e757049746c03726533aa47aef9 |
|---|---|
| Ticket: | 217835ffffffffffffffffffffffffffffffffff
Bug in ::env Array Under Windows |
| User & Date: | nobody on 2000-10-26 00:44:37 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1683 Bug Version: 8.0.5 SubmitDate: '1999-03-31' LastModified: '1999-04-07' Severity: MED Status: Closed Submitter: pat ChangedBy: surles OS: Windows NT OSVersion: 4.0 (sp3) Machine: X86 FixedDate: '2000-10-25' ClosedDate: '1999-04-07' Name: David White Extensions: None except Tk CustomShell: none ReproducibleScript: console show if {[info exist ::env(TMP)]} { puts "It's there: $::env(TMP)" } else { puts "Not found" } vwait bubba ObservedBehavior: I recently downloaded TclPro and it installed 8.0.5 of Tcl/Tk. Previously, I was using 8.0p2. Both are running under Windows NT4.0 (sp3). The problem arises when the TMP environment variable has been set as "tmp" rather than "TMP". Under DOS/Windows, the OS treats the two as equal (TMP==tmp==TmP, etc). Using 8.0p2, the script shown above works regardless of the case of the environment variable's name. Under 8.0.5, the case of the environment variable's name is significant. This change is not documented anywhere I can find. DesiredBehavior: I expect that the shell (in this case a Tcl/Tk shell) treats environment variable names the same way that the OS does. Therefore, the behavior found in 8.0p2 is "correct" in my opinion. In addition, changes of this nature should be documented. I looked on the web pages for compatibility changes and this was NOT listed. Thanks, David --- Duplicate to bug ID 1677, 1299 and 1501. - foundin changed to: "final: 8.0.5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Bug in ::env Array Under Windows"
- type changed to: "Bug"