1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-11 08:08:06 -05:00
Simon Tatham 5891142aee New functions to shrink a strbuf.
These are better than my previous approach of just assigning to
sb->len, because firstly they check by assertion that the new length
is within range, and secondly they preserve the invariant that the
byte stored in the buffer just after the length runs out is \0.

Switched to using the new functions everywhere a grep could turn up
opportunities.
2020-01-21 20:24:04 +00:00
..
2020-01-21 20:24:04 +00:00
2019-10-14 19:42:37 +01:00
2019-03-31 10:35:10 +01:00
2019-10-14 19:42:37 +01:00
2020-01-21 20:24:04 +00:00
2019-10-14 19:42:37 +01:00
2019-10-14 19:42:37 +01:00
2019-10-14 19:42:37 +01:00
2020-01-21 20:24:04 +00:00