Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dstring: Add a dstrdup() function | Tavian Barnes | 2019-03-27 | 1 | -5/+14 |
| | |||||
* | Add some documentation comments | Tavian Barnes | 2019-02-09 | 1 | -0/+3 |
| | |||||
* | dstring: Initialize freshly-allocated strings | Tavian Barnes | 2019-01-31 | 1 | -0/+1 |
| | | | | | | | | | | 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. | ||||
* | Re-license under the BSD Zero Clause License | Tavian Barnes | 2017-07-27 | 1 | -10/+15 |
| | |||||
* | printf: Fix embedded nul bytes | Tavian Barnes | 2017-06-10 | 1 | -0/+4 |
| | | | | Fixes #26. | ||||
* | dstring: Clean up the API a bit. | Tavian Barnes | 2016-05-22 | 1 | -10/+13 |
| | |||||
* | dstring: Split out the dynamic string logic. | Tavian Barnes | 2016-04-13 | 1 | -0/+99 |