summaryrefslogtreecommitdiff
path: root/test/unit/codepoint-width/tab-width/cmd
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-09-28 19:03:26 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-09-28 19:06:25 +0100
commite701254b02944ecbf228e0c81ef77da86453d260 (patch)
treea6378a24bfcd29447b375ecdc428e6a984e21ae7 /test/unit/codepoint-width/tab-width/cmd
parent1b9eb2c6ba6da849480c299d06abb9bdd9f87786 (diff)
Fix String::Data::reserve on big endian platforms, and document String::Data
reserve was not ensuring the capacity would be pair, which is needed on big endian machines, as we use its least significant bit to flag short string optimizations. On little endian the bit we use is the 8th most significant (the least significant bit of the last byte), so we were not hitting any problems. Fixes #828
Diffstat (limited to 'test/unit/codepoint-width/tab-width/cmd')
0 files changed, 0 insertions, 0 deletions