Overview
| Artifact ID: | aecc8667bc70518aea4dde9a37de49cbde23cd00 |
|---|---|
| Ticket: | 405998ffffffffffffffffffffffffffffffffff
Tcl_SetListObj fails reset obj properly |
| User & Date: | nobody on 2001-03-05 11:39:22 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The case of no elements in Tcl_SetListObj when setting the string representation to tclEmptyStringRep fails to reset the length to zero. diff -rc tcl8.3.2/generic/tclListObj.c tcl8.3.2.new/generic/tclListObj.c *** tcl8.3.2/generic/tclListObj.c Tue Aug 10 22:45:11 1999 --- tcl8.3.2.new/generic/tclListObj.c Tue Feb 20 10:34:08 2001 *************** *** 265,270 **** --- 265,271 ---- objPtr->typePtr = &tclListType; } else { objPtr->bytes = tclEmptyStringRep; + objPtr->length = 0; } } - foundin changed to: "obsolete: 8.4a2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "14. List Object"
- title changed to: "Tcl_SetListObj fails reset obj properly"
- type changed to: "Bug"