Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-03 | dstring: New dstrndup() function | Tavian Barnes | |
2019-05-23 | dstring: Add a printf()-style creation API | Tavian Barnes | |
2019-03-27 | dstring: Add a dstrdup() function | Tavian Barnes | |
2019-02-09 | Add some documentation comments | Tavian Barnes | |
2019-01-31 | dstring: Initialize freshly-allocated strings | Tavian Barnes | |
Previously, a string allocated with dstralloc() had length 0 but no terminating NUL byte there. This was problematic if such a string was used without being modified. In particular, this was reproducible with bfs -ok by not typing any response to the prompt. In that case, uninitialized memory was being tested for a y/n response, with unpredictable results. | |||
2017-07-27 | Re-license under the BSD Zero Clause License | Tavian Barnes | |
2017-06-10 | printf: Fix embedded nul bytes | Tavian Barnes | |
Fixes #26. | |||
2016-05-22 | dstring: Clean up the API a bit. | Tavian Barnes | |
2016-04-13 | dstring: Split out the dynamic string logic. | Tavian Barnes | |