Tcl Source Code

Check-in [40af0258ec]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:New function, TclDuplicatePureObj(), doesn't duplicate the string representation when duplicating an object, unless necessary. Remove TclListObjCopy() in favor of TclDuplicatePureObj(), allowing internal representation to change after the copy rather than before.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 40af0258ecad67cd3ab986648583509339064da0181a0576be02a0cd783c4bf3
User & Date: pooryorick 2023-05-16 05:25:31.940
Original Comment: New function, TclDuplicatePureObj(), doesn't duplicate the string representation when duplicating an object, unless necessary. Remove TclListCopy() in favor of TclDuplicatePureObj(), allowing internal representation to change after the copy rather than before.
References
2023-05-17
15:55 • Ticket [6022b9f946] Tk when built against Tcl 9.0 broken status still Open w... artifact: 330b41de1f user: jan.nijtmans
15:22 • New ticket [6022b9f946]. artifact: cb3a25bc39 user: jan.nijtmans
Context
2023-05-17
16:22
Proposed fix for [6022b9f946]: Tk when built against Tcl 9.0 broken closed check-in: 47ae4a0262 user: jan.nijtmans tags: bug-6022b9f946
2023-05-16
06:25
Merge 8.7 check-in: 8e4d8a6053 user: jan.nijtmans tags: trunk, main
05:25
New function, TclDuplicatePureObj(), doesn't duplicate the string representation when duplicating a... check-in: 40af0258ec user: pooryorick tags: trunk, main
2023-05-15
20:49
Add Tcl_DecrRefCount() missing from [4b1a20629e]. check-in: 0785828c47 user: pooryorick tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclBasic.c.
Changes to generic/tclCmdAH.c.
Changes to generic/tclCmdIL.c.
Changes to generic/tclEnsemble.c.
Changes to generic/tclEvent.c.
Changes to generic/tclExecute.c.
Changes to generic/tclIOGT.c.
Changes to generic/tclIORChan.c.
Changes to generic/tclInt.h.
Changes to generic/tclListObj.c.
Changes to generic/tclObj.c.
Changes to generic/tclStringObj.c.
Changes to generic/tclUtil.c.
Changes to generic/tclVar.c.