Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ac70d1774487780f689fe1cdbbed096543852e4c
Ticket: 715751ffffffffffffffffffffffffffffffffff
several bugs in tclDictObj.c
User & Date: dgp on 2003-04-05 08:22:52
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    This script panics:
    
    proc foo bar {}
    while 1 {
        set dictv [dict create a 0]
        set share [dict values $dictv]
        foo [dict incr dictv a]
    }
    
    due to broken refcount initialization
    in the Dict struct.
    
    Some C compilers are not happy with
    a label like valueAlreadyInDictionary
    on line 1769 that does not label any
    C statement, but the end of a block.
    
    There are several typos in comments.
    
    The name for the new Tcl_ObjType
    is "hashDictionary", but the name
    "dict" fits in better with other type names.
    
    A patch to be filed in a moment fixes these
    problems.
    
    The file tclDictObj.c also will not compile
    on any platform where 
    TCL_WIDE_INT_IS_LONG is #define'd
    because it refers to &tclWideIntType which
    does not exist on those platforms.  I prefer
    to fix that bug by applying the patch for
    Tcl Bug 713562.
    
    
    
  4. foundin changed to: "obsolete: 8.5a0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "15. Dict Object"
  10. title changed to: "several bugs in tclDictObj.c"
  11. type changed to: "Bug"