linenoise-ng
linenoise-ng copied to clipboard
Bug fixes
Three small fixes:
- FreeBSD open() does not have S_IRUSR | S_IWUSR
- The source pointer for memcpy() in linenoiseHistorySave() is incorrect. It should point to head of list.
- linenoiseHistorySave() needs to check for NULL pointer (although this was a side effect of (2))
Hi @mikeowens
Thanks a lot for your improvements. We are using an Apache 2 CLA for ArangoDB and its sub-components, which can be found here: https://www.arangodb.com/documents/cla.pdf
Could you please sign, scan and email it to [email protected]
Thanks a lot