Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | slurp: don't special-case empty files, instead behave like strdup("") | Leah Neukirchen | 2019-04-23 | 1 | -5/+0 |
| | | | | This allows the caller to call free(3) in any case. | ||||
* | style | Leah Neukirchen | 2017-08-31 | 1 | -1/+1 |
| | |||||
* | slurp: zero-terminate buffer | Christian Neukirchen | 2016-10-06 | 1 | -1/+3 |
| | |||||
* | seq: slurp the file instead of mmap | Christian Neukirchen | 2016-10-05 | 1 | -0/+56 |
mmap is not robust when there are writes possible. |