Skip to content
Tcl Source Code History Of Ticket 1563538fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1563538fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1563538fffffffffffffffffffffffffffffffff

  1. Ticket change [1c99714546] (rid 90633) by fridolin on 2006-09-22 14:25:46:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. 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?
      
      
      
    4. foundin initialized to: "obsolete: 8.5a4"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "fridolin"
    10. subsystem initialized to: "07. Variables"
    11. title initialized to: "append+env bug"
    12. type initialized to: "Bug"
  2. Ticket change [7d4ee80197] (rid 97219) by msofer on 2006-09-26 07:38:04:

    1. assignee changed to: "kennykb"
    2. 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.
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  3. Ticket change [8de740871d] (rid 128022) by fridolin on 2006-10-09 16:14:48:

    1. 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).
      
      
    2. login: "fridolin"
    3. mimetype: "text/plain"
    4. username: "fridolin"