summaryrefslogtreecommitdiffstats
path: root/generic/tclStringRep.h
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-1/+1
| | | corrections in history.tcl and tcltest.test.
* Fix [0e8fd6c6d5]: (unsigned)STRING_SIZE(STRING_MAXCHARS) is 0 (and optimize ↵jan.nijtmans2022-03-221-2/+2
| | | | STRING_SIZE a little bit)
* Fix [816913a65e]: GrowStringBuffer(): signed integer overflow. And a few ↵jan.nijtmans2022-01-131-1/+1
| | | | similar situations in other place
* Fix [da6f155ca4]: STRING_SIZE() macro: parenthesize numChars usage. Fix more ↵jan.nijtmans2022-01-121-1/+1
| | | | macro's like this.
* Fix [https://core.tcl-lang.org/tk/tktview?name=3bc0f44ef3|3bc0f44ef3]: UBSan ↵jan.nijtmans2020-09-111-1/+1
| | | | | complains about body.chars[] usage. (Yes, I know, this one is for Tk, but Tcl was using the same construct too ....)
* Don't use sizeof() for structs containing a flexible array as last element. ↵jan.nijtmans2020-09-101-2/+2
| | | | Lesson from [https://core.tcl-lang.org/tk/info/3bc0f44ef3|3bc0f44ef3]. Use TclOffset in stead.
* Factor out string internal rep definition so fix for [1af8de570511] is less ↵dkf2016-03-221-0/+97
awful.