Skip to content
Tcl Source Code History Of Ticket 218738
Login

History Of Ticket 218738

Artifacts Associated With Ticket 218738

  1. Ticket change [125d80caf9] (rid 95294) by nobody on 2000-10-26 01:04:46:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1952 Bug
      Version: 8.1b3
      SubmitDate: '1999-04-27'
      LastModified: '1999-08-08'
      Severity: LOW
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      OS: Other
      OSVersion: BSD/OS 4.1
      Machine: NA
      FixedDate: '1999-08-08'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Robert Hare
      
      ReproducibleScript:
      The manual pages when refering to Tcl_DecrRefCount all state that the
          object
          is freed when its reference count reaches 0.  They need to be changed to
          read that the object is freed when the reference count is less than or
          equal to zero.
          The macro Tcl_DecrRefCount actually does check for less than or equal.
          This is
          important since code may create a new object and then reach an error
          state 
          prior to incrementing the reference count by calling Tcl_SetObjResult.
          In this
          case the documentation is not clear as to what will happen if
          Tcl_DecrRefCount 
          is called with the reference count being 0.  Will the reference count be
          decremented to -1 and the object's memory lost?  It turns out the
          behavior is
          correct, just the documentation is confusing.
      
      
      
      Fixed in 8.2b3 documentation. 
      -- 08/08/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.1b3"
    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: "69. Other"
    10. title initialized to:
      Documentation for Tcl_DecrRefCount should be changed.
      
    11. type initialized to: "Bug"
  2. Ticket change [319c7a59b0] (rid 93458) by welch on 2000-10-26 08:28:12:

    1. closedate changed to: "2000-10-26T01:28:12"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [862bc637cd] (rid 131455) by dgp on 2001-04-17 06:05:12:

    1. closedate changed to: "2001-04-16T23:05:12"
    2. closer changed to: "dgp"
    3. subsystem changed to: "10. Objects"