Manifest of check-in
[3f462e6880]
- * generic/tclStringObj.c: Rewrite GrowStringBuffer() so that it
has parallel structure with GrowUnicodeBuffer(). The revision permits
allocation attempts to continue all the way up to failure, with no gap.
It also directly manipulates the String and Tcl_Obj internals instead
of inefficiently operating via Tcl_*SetObjLength() with all of its
extra protections and underdocumented special cases.
by
dgp on
2009-02-18 18:31:36.
B ac61ee395893ab793e426d97e8fa37554b4f8ed7
C \s\s\s\s\s\s\s\s*\sgeneric/tclStringObj.c:\s\s\s\s\s\s\sRewrite\sGrowStringBuffer()\sso\sthat\sit\n\s\s\s\s\s\s\s\shas\sparallel\sstructure\swith\sGrowUnicodeBuffer().\s\sThe\srevision\spermits\n\s\s\s\s\s\s\s\sallocation\sattempts\sto\scontinue\sall\sthe\sway\sup\sto\sfailure,\swith\sno\sgap.\n\s\s\s\s\s\s\s\sIt\salso\sdirectly\smanipulates\sthe\sString\sand\sTcl_Obj\sinternals\sinstead\n\s\s\s\s\s\s\s\sof\sinefficiently\soperating\svia\sTcl_*SetObjLength()\swith\sall\sof\sits\n\s\s\s\s\s\s\s\sextra\sprotections\sand\sunderdocumented\sspecial\scases.\n
D 2009-02-18T18:31:36
F ChangeLog f022abb11aaf296f04bd8c22997c205c3d4e3c04
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 badd0dd575f7becaaaace63e959681b491144317
F generic/tclTestObj.c 42ba3c6ecc77cb42dc2208ee792f8f3b10750137
F generic/tclZlib.c 7422e19f7e51f99af1edd38e54cc736d73fb6c61
F tests/stringObj.test f2f075a365e705cfc7ca26a18ba988fa32f94019
F win/Makefile.in 44aed5dd026030d6db1ef5f489cb39a9aff5f9e9
F win/configure e6b1e9c86c4afa8cb7499db6dd9eb62c27b7c983 x
F win/configure.in 50f8b470a84ad8512f938bded9c109788206c6aa
F win/tcl.m4 75772cbbb76435bf43296de558564f262b45c83e
P e352a00e678bced171bd76f2dc1be93351a47634
U dgp
Z 745a415984cc8198e546a6a195fdcb1c