Artifacts Associated With Ticket 217835ffffffffff
Ticket change [64a668ec30] (rid 92802) by nobody on 2000-10-26 00:44:37:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Bug in ::env Array Under Windows"
- type initialized to: "Bug"
Ticket change [a7f6604f61] (rid 98892) by welch on 2000-10-26 07:59:46:
- closedate changed to: "2000-10-26T00:59:46"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [807d6b24f2] (rid 116880) by dgp on 2001-04-13 23:16:51:
- closedate changed to: "2001-04-13T16:16:51"
- closer changed to: "dgp"
- subsystem changed to: "08. Environment Variables"