Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-14 | Cleanup: fix warning in unix.c | Berthold Stoeger | |
The compiler complained about assigning the "const char *" returned by mb_cstring() to a "char *". The warning is correct, as the returned buffer still belongs to the membuffer. The code only worked because destruction of the membuffer was "forgotten". Fix this by using the "detach_buffer()" function, which passes ownership to the caller and accordingly returns a "char *". Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | |||
2018-07-28 | Build-system: add OpenBSD support | Kristaps Dz | |
Rename linux.c to unix.c and add OpenBSD support as well. Conditionally compile based on OS. Signed-off-by: Kristaps Dzonsons <kristaps@bsd.lv> |