Skip to content
Tcl Source Code History Of Ticket 218597ffffffffff
Login

History Of Ticket 218597ffffffffff

Artifacts Associated With Ticket 218597ffffffffff

  1. Ticket change [4e358f694f] (rid 127186) by nobody on 2000-10-26 01:02:56:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1395 Bug
      Version: 8.0.3
      SubmitDate: '1999-03-02'
      LastModified: '1999-08-07'
      Severity: MED
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      OS: Other
      OSVersion: FreeBSD 3.0 current
      Machine: NA
      FixedDate: '1999-08-07'
      FixedInVersion: 8.2
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      Mikhail Teterin
      
      
      
      CustomShell:
      
      plus patches
      
      
      
      ReproducibleScript:
      
      Tcl_ObjType someType = {
      
      "some",
      
      NULL, /* nothing special to do to free */
      
      NULL, /* nothing special to do when duping */
      
      some_updateStringProc,
      
      some_setFromAnyProc
      
      }
      
      
      
      
      
      
      
      
      
      ObservedBehavior:
      
      Sooner or later Tcl_DuplicateObj will be called upon an object of this
      
      type. It will find a non-NULL typePtr and will call typePtr->
      
      without checking the typePtr->dupIntRepProc itself.
      
      
      
      
      
      
      
      
      
      DesiredBehavior:
      
      Why not allow dupIntRepProc to be NULL just like freeIntRepProc is
      
      allowed to be?
      
      
      
      
      
      
      
      Patch:
      
      *** tclObj.c    Tue Nov 17 17:40:39 1998
      
      --- tclObj.c.improved   Thu Jan 14 11:26:07 1999
      
      ***************
      
      *** 689,695 ****
      
              dupPtr->length = len;
      
            }
      
            
      
      !     if (typePtr != NULL) {
      
              typePtr->dupIntRepProc(objPtr, dupPtr);
      
            }
      
            return dupPtr;
      
      --- 689,695 ----
      
              dupPtr->length = len;
      
            }
      
            
      
      !     if (typePtr && typePtr->dupIntRepProc) {
      
              typePtr->dupIntRepProc(objPtr, dupPtr);
      
            }
      
            return dupPtr;
      
      
      
      
      
      
      
      
      
      PatchFiles:
      
      tclObj.c
      
      
      
      
      
      
      
      This has been fixed as of or before 8.2. 
      -- 08/07/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.3"
    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: "having a type requires having a dup proc"
    11. type initialized to: "Bug"
  2. Ticket change [edeb8b89a2] (rid 103989) by welch on 2000-10-26 08:25:09:

    1. closedate changed to: "2000-10-26T01:25:09"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [6cd574288d] (rid 128592) by dgp on 2001-04-16 21:01:34:

    1. closedate changed to: "2001-04-16T14:01:34"
    2. closer changed to: "dgp"
    3. subsystem changed to: "10. Objects"