Artifacts Associated With Ticket 1563538
Ticket change [1c99714546] (rid 90633) by fridolin on 2006-09-22 14:25:46:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
this bug could be seen on windows: I start with a command shell: c:\> set A=VALUE c:\> tclsh % append env(A) 123 VALUE123 % exit good! c:\> tclsh % puts $env(a) VALUE % append env(a) 123 VALUE123 % exit good! c:\> tclsh % # no puts % append env(a) 123 123 % puts $env(a) 123 % exit huh?
- foundin initialized to: "obsolete: 8.5a4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "fridolin"
- subsystem initialized to: "07. Variables"
- title initialized to: "append+env bug"
- type initialized to: "Bug"
Ticket change [7d4ee80197] (rid 97219) by msofer on 2006-09-26 07:38:04:
- assignee changed to: "kennykb"
- icomment:
Logged In: YES user_id=148712 I don't even a windows platform to test this, and it does seem windows specific. At least if there is no typo in the report, I infer that 1. windows env vars are not case sensitive 2. the case conversion is probably done by a read trace Note that we do *not* trigger read traces on append (even though we do on lappend). Comment in tclVar.c line 1604 is relevant, as well as the fact that TCL_TRACE_READS is not passed in line 2309 (HEAD refs). I do not see how we could fix this; maybe Kevin has an idea.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
Ticket change [8de740871d] (rid 128022) by fridolin on 2006-10-09 16:14:48:
- icomment:
Logged In: YES user_id=13583 I don't know the internal details, but after the first access of env(a) it seems to work. Because the system environment shouldn't change after the start of an application, it could be solved by "initialize" env on startup (however this is to be done internally). This costs a startup penalty. (but maybe the read trace on env could be removed).
- login: "fridolin"
- mimetype: "text/plain"
- username: "fridolin"
- icomment: