Re:Git's list of banned C functions
by nrdvana on Thursday March 04, 2021 @08:11PM
(#26351073)
In the Pascal that I remember, strings were always 256 bytes and the first byte tracked the length, meaning they were always safe, though might get truncated. The LongString just did allocations whenever it needed, and was also safe, as long as you weren’t rolling your own pointer math.
[ Parent
| on HN ]
There are no comments on this comment yet.