Tcl Source Code

Check-in [820ba0e29a]
Login

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

Overview
Comment:
* generic/tclStringObj.c: Factor out common GrowStringBuffer().
* generic/tclStringObj.c: Convert Tcl_AppendStringsToObj into * tests/stringObj.test: a radically simpler implementation where we just loop over calls to Tcl_AppendToObj. This fixes [Bug 2597185]. It also creates a *** POTENTIAL INCOMPATIBILITY *** in that T_ASTO can now allocate more space than is strictly required, like all the other Tcl_Append* routines. The incompatibility was detected by test stringObj-6.5, which I've updated to reflect the new behavior.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk | potential incompatibility
Files: files | file ages | folders
SHA1: 820ba0e29a10df3d23fcd8e05771b3da80b0957c
User & Date: dgp 2009-02-17 17:17:32.000
Context
2009-02-17
18:10
* win/tcl.m4, win/configure: Check if cl groks _WIN64 already to avoid CC manipulation that can sc...
check-in: e587ee7ca9 user: hobbs tags: trunk
17:17
* generic/tclStringObj.c: Factor out common GrowStringBuffer().
* generic/tcl...
check-in: 820ba0e29a user: dgp tags: trunk, potential incompatibility
06:52
* generic/tclStringObj.c: Revise buffer growth implementation in ExtendStringR...
check-in: e188de7032 user: dgp tags: trunk
Changes
Unified Diff Side-by-Side Diff Patch
Changes to ChangeLog.
Changes to generic/tclStringObj.c.
Changes to tests/stringObj.test.