Overview
| Artifact ID: | ac70d1774487780f689fe1cdbbed096543852e4c |
|---|---|
| Ticket: | 715751ffffffffffffffffffffffffffffffffff
several bugs in tclDictObj.c |
| User & Date: | dgp on 2003-04-05 08:22:52 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "obsolete: 8.5a0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "15. Dict Object"
- title changed to: "several bugs in tclDictObj.c"
- type changed to: "Bug"