summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-02-14 23:07:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-02-14 23:07:17 (GMT)
commit9325ac89905cf6cadf12491e007de22301362651 (patch)
tree0444ca159ecb1aa9c156bec35a4b82953ce34b43 /generic/tclEvent.c
parent34bab026d12e407d9bf7e5d9eca2012f2e9a1f97 (diff)
downloadtcl-9325ac89905cf6cadf12491e007de22301362651.zip
tcl-9325ac89905cf6cadf12491e007de22301362651.tar.gz
tcl-9325ac89905cf6cadf12491e007de22301362651.tar.bz2
* generic/tclStringObj.c: Revisions so that we avoid creating
the strange representation of an empty string with objPtr->bytes == NULL and stringPtr->hasUnicode == 0. Instead in the situations where that was being created, create a traditional two-legged stork representation (objPtr->bytes = tclEmptyStringRep and stringPtr->hasUnicode = 1). In the situations where the strange rep was treated differently, continue to do so by testing stringPtr->numChars == 0 to detect it. These changes make the code more conventional so easier for new maintainers to pick up. Also sets up further simplifications.
Diffstat (limited to 'generic/tclEvent.c')
0 files changed, 0 insertions, 0 deletions