summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-02-15 22:32:19 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-02-15 22:32:19 (GMT)
commit6c361fffabf21b1adb6113a86da85c4dc64a9f9d (patch)
tree111d23e254fa891d22c829ce3c92a8b9e988bda7 /generic/tclZlib.c
parentcf9a0cad9436ae952feb777e2e5e5c931e37d73e (diff)
downloadtcl-6c361fffabf21b1adb6113a86da85c4dc64a9f9d.zip
tcl-6c361fffabf21b1adb6113a86da85c4dc64a9f9d.tar.gz
tcl-6c361fffabf21b1adb6113a86da85c4dc64a9f9d.tar.bz2
* generic/tclStringObj.c: Replace the 'size_t uallocated' field
of the String struct, storing the number of bytes allocated to store the Tcl_UniChar array, with an 'int maxChars' field, storing the number of Tcl_UniChars that may be stored in the allocated space. This reduces memory requirement a small bit, and makes some range checks simpler to code.
Diffstat (limited to 'generic/tclZlib.c')
0 files changed, 0 insertions, 0 deletions