Skip to content
Tcl Source Code Artifact [820ba0e29a]
Login

Artifact [820ba0e29a]

Artifact 820ba0e29a10df3d23fcd8e05771b3da80b0957c:

Manifest of check-in [820ba0e29a] - * 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. by dgp on 2009-02-17 17:17:32.
B ac61ee395893ab793e426d97e8fa37554b4f8ed7
C \s\s\s\s\s\s\s\s*\sgeneric/tclStringObj.c:\s\s\s\s\s\s\sFactor\sout\scommon\sGrowStringBuffer().\n\n\s\s\s\s\s\s\s\s*\sgeneric/tclStringObj.c:\s\s\s\s\s\s\sConvert\sTcl_AppendStringsToObj\sinto\n\s\s\s\s\s\s\s\s*\stests/stringObj.test:\s\s\s\s\s\s\s\s\sa\sradically\ssimpler\simplementation\n\s\s\s\s\s\s\s\swhere\swe\sjust\sloop\sover\scalls\sto\sTcl_AppendToObj.\s\sThis\sfixes\s[Bug\n\s\s\s\s\s\s\s\s2597185].\s\sIt\salso\screates\sa\s***\sPOTENTIAL\sINCOMPATIBILITY\s***\sin\n\s\s\s\s\s\s\s\sthat\sT_ASTO\scan\snow\sallocate\smore\sspace\sthan\sis\sstrictly\srequired,\n\s\s\s\s\s\s\s\slike\sall\sthe\sother\sTcl_Append*\sroutines.\s\sThe\sincompatibility\swas\n\s\s\s\s\s\s\s\sdetected\sby\stest\sstringObj-6.5,\swhich\sI've\supdated\sto\sreflect\sthe\n\s\s\s\s\s\s\s\snew\sbehavior.\n
D 2009-02-17T17:17:32
F ChangeLog 06c5fcc4fb2a54aa1058e03e9ad98d11dfc8e19d
F compat/zlib/win32/zdll.lib 42a1860b131395a691394ecd8c2e3031aeef2a7e
F compat/zlib/win32/zlib1.dll 6d957ba632df5b06d49a901f2772df4301610a2a
F generic/tclExecute.c 3f51ca59b805e18cecb03e586fcb917386f357cc
F generic/tclInt.h 8e6d3eeb7fc8d312b5c6c9091adbbc5706b4fc59
F generic/tclStringObj.c 372ce26665e28abd655a4767d00e13390c812471
F generic/tclTestObj.c 42ba3c6ecc77cb42dc2208ee792f8f3b10750137
F generic/tclZlib.c 7422e19f7e51f99af1edd38e54cc736d73fb6c61
F tests/stringObj.test f2f075a365e705cfc7ca26a18ba988fa32f94019
F win/Makefile.in 44aed5dd026030d6db1ef5f489cb39a9aff5f9e9
F win/configure f7d44308dea6048840e20301e17ffac5e14812d4 x
F win/configure.in 50f8b470a84ad8512f938bded9c109788206c6aa
P e188de7032ac2c17904c5c3bd82d3c756172f7a8
U dgp
Z 1f35f2d6b93e94af4759f34c3ceb5514