Skip to content
Tcl Source Code History Of Ticket 219226ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 219226ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 219226ffffffffffffffffffffffffffffffffff

  1. Ticket change [03e7402d1e] (rid 119904) by nobody on 2000-10-26 05:03:50:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4109 Bug
      Version: 8.2.2
      SubmitDate: '2000-02-01'
      LastModified: '2000-04-26'
      Severity: SER
      Status: Assigned
      Submitter: techsupp
      ChangedBy: hobbs
      RelatedBugIDs: 1999 3661
      OS: All
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name: eric chang
      
      Comments:
      Some commands work on Tcl8.0
      
      ReproducibleScript:
      array startsearch env   #will create ssearchid s-1-env
      array nextelement env s-1-env
      
      ObservedBehavior:
      error message: couldn't find search "s-1-env"
      
      DesiredBehavior:
      suppose one array element
      
      
      
      Verified on NT with 8.3b2. 
      -- 02/01/2000 hobbs
      
      When the mechanism for maintaining the env() array changed in 8.1, this broke:
      
      2/18/98 (hidden feature change) The way the env() array is shared among
      interpreters changed.  Updates to env used to trigger write traces in
      other interpreters.  This undocumented feature is no longer implemented.
      Instead, variable tracing is used to keep the C-level environ array in sync
      with the Tcl-level env array. This required adding TCL_TRACE_ARRAY support
      to Tcl_TraceVar2 so that array names works properly. (BW)
      *** POTENTIAL INCOMPATIBILITY ***
      
      The problem is that the trace on the env array that is used to do this actually unsets the env array, then resets it from the environ array.  When env() is unset, the searches get deleted.
      
      - eric
      
      -- 03/24/2000 ericm
      
      
      
    4. foundin initialized to: "obsolete: 8.2.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to: "fail to do array search on env"
    11. type initialized to: "Bug"
  2. Ticket change [3b78f99834] (rid 112756) by dkf on 2001-02-07 22:41:19:

    1. subsystem changed to: "08. Environment Variables"
  3. Ticket change [2cad850325] (rid 118948) by andreas_kupries on 2001-09-08 06:34:32:

    1. assignee changed to: "das"
  4. Ticket change [44ceb49091] (rid 116765) by das on 2001-09-22 12:55:31:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=90580
      
      
      
      
      
    3. login: "das"
    4. mimetype: "text/plain"
    5. username: "das"
  5. Ticket change [3ac6c790bd] (rid 134336) by dkf on 2013-09-27 10:33:33:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2456562.93997579"
    3. closer changed to: "dkf"
    4. comment changed to:
      OriginalBugID: 4109 Bug
      Version: 8.2.2
      SubmitDate: '2000-02-01'
      LastModified: '2000-04-26'
      Severity: SER
      Status: Assigned
      Submitter: techsupp
      ChangedBy: hobbs
      RelatedBugIDs: 1999 3661
      OS: All
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name: eric chang
      
      Comments:
      Some commands work on Tcl8.0
      
      ReproducibleScript:
      array startsearch env   #will create ssearchid s-1-env
      array nextelement env s-1-env
      
      ObservedBehavior:
      error message: couldn't find search "s-1-env"
      
      DesiredBehavior:
      suppose one array element
      
      
      
      Verified on NT with 8.3b2. 
      -- 02/01/2000 hobbs
      
      When the mechanism for maintaining the env() array changed in 8.1, this broke:
      
      2/18/98 (hidden feature change) The way the env() array is shared among
      interpreters changed.  Updates to env used to trigger write traces in
      other interpreters.  This undocumented feature is no longer implemented.
      Instead, variable tracing is used to keep the C-level environ array in sync
      with the Tcl-level env array. This required adding TCL_TRACE_ARRAY support
      to Tcl_TraceVar2 so that array names works properly. (BW)
      *** POTENTIAL INCOMPATIBILITY ***
      
      The problem is that the trace on the env array that is used to do this actually unsets the env array, then resets it from the environ array.  When env() is unset, the searches get deleted.
      
      - eric
      
      -- 03/24/2000 ericm
      
    5. icomment:
      Packed dear old Crazy Aunt Beattie off to the nursing home in the sky.<p>New implementation lists the existing array contents, iterates over the environ elements adding/updating the env array as it goes and removing the elements from that list, then removes the elements from env that still remain in that list. More memory churn, but much more minimal changes.
      
    6. login: "dkf"
    7. mimetype: "text/html"
    8. resolution changed to: "Fixed"
    9. severity changed to: "Minor"
    10. status changed to: "Closed"
    11. username: "dkf"
  6. Ticket change [04276cdae3] (rid 134337) by dkf on 2013-09-27 10:34:08:

    1. closedate changed to: "2456562.94038035"
    2. icomment:
      Side benefit: links to array elements now work sanely.
      
    3. login: "dkf"
    4. mimetype: "text/html"
    5. username: "dkf"
  7. Ticket change [254217b96a] (rid 135658) by jan.nijtmans on 2013-11-20 11:57:41:

    1. closedate changed to: "2456616.99839319"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      This bug-fix [afaff33553] introduced a regression
      (test-cases init-5.0, package-15.4 on win32), which
      is fixed in [bac3f9b139] and [f6c1c6b491].
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"