Manifest of check-in
[8754f4357d]
- * generic/tclStringObj.c: Pare back the length of the unicode
array in a non-extended String struct to one Tcl_UniChar, meant to
hold the terminating NUL character. Non-empty unicode strings are
then stored by extending the String struct by stringPtr->maxChars
additional slots in that array with sizeof(Tcl_UniChar) bytes per slot.
This revision makes the allocation macros much simpler.
by
dgp on
2009-02-17 21:40:48.
B ac61ee395893ab793e426d97e8fa37554b4f8ed7
C \s\s\s\s\s\s\s\s*\sgeneric/tclStringObj.c:\s\s\s\s\s\s\sPare\sback\sthe\slength\sof\sthe\sunicode\n\s\s\s\s\s\s\s\sarray\sin\sa\snon-extended\sString\sstruct\sto\sone\sTcl_UniChar,\smeant\sto\n\s\s\s\s\s\s\s\shold\sthe\sterminating\sNUL\scharacter.\s\sNon-empty\sunicode\sstrings\sare\n\s\s\s\s\s\s\s\sthen\sstored\sby\sextending\sthe\sString\sstruct\sby\sstringPtr->maxChars\n\s\s\s\s\s\s\s\sadditional\sslots\sin\sthat\sarray\swith\ssizeof(Tcl_UniChar)\sbytes\sper\sslot.\n\s\s\s\s\s\s\s\sThis\srevision\smakes\sthe\sallocation\smacros\smuch\ssimpler.\n
D 2009-02-17T21:40:48
F ChangeLog cc027c06b9b6443e0d22e4984e1734100f890f28
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 93284a937eee1f6d74272f936fe66d0dfa991a0b
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 cfe9911057816e35c03aed5d305e382d87767bcc
U dgp
Z 5e02c49a948c1154a4b8a06b22ec0579