Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4bfdae4ebf2ac6e2d2ac408def96db624809607f
Ticket: 218486ffffffffffffffffffffffffffffffffff
Need to document the behavior change in the Tcl 'C' compiled
User & Date: nobody on 2000-10-26 01:01:08
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 694 Bug
    Version: 8.0
    SubmitDate: '1998-10-05'
    LastModified: '1999-08-06'
    Severity: LOW
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    RelatedBugIDs: 684
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-08-06'
    FixedInVersion: 8.2
    ClosedDate: '2000-10-25'
    
    
    There is  a difference in behavior between tcl 7.6 and 8.0 with respect to string commands.  In 7.6 the argv array was always a copy of the command string.  In 8.0, the argv array contains pointers to shared strings in order to avoid paying the cost of a copy for every command invocation.  Unfortunately this means that commands that relied on being able to change the strings that were passed to the command will have undesirable side-effects on other parts of the system that happened to refer to be same string.
    Need to update the 8.0 documentation for Tcl_CreateCommand to clarify this issue.
    
    
    
    The 8.2 docs specify this condition. 
    -- 08/06/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "46. Traces"
  10. title changed to:
    Need to document the behavior change in the Tcl 'C' compiled
    
  11. type changed to: "Bug"