aboutsummaryrefslogtreecommitdiff
path: root/compat
AgeCommit message (Collapse)Author
2022-01-28only memcpy into imsg->data if datalen is not zeroOmar Polo
Passing a NULL pointer to memcpy is UB no matter if len is 0 (commit by claudio@, backporting for gmid.)
2021-10-07add compat for sys/tree.hOmar Polo
2021-04-25add compat for reallocarrayOmar Polo
2021-02-23fix various error in compat/err.cOmar Polo
2021-02-23tests and compat for imsgOmar Polo
2021-02-12include config.h firstOmar Polo
2021-02-11improve compat/getprogname on GNU libcOmar Polo
but why'd they called it program_invocation_short_name? They couldn't find a longer name?
2021-02-04add compat for setproctitleOmar Polo
This adds a check for setproctitle and for the (linux) prctl PR_SET_NAME. If setproctitle is not available, on linux we provide an implementation that use prctl (taken from tmux compat layer.)
2021-01-22fixing compat compilationOmar Polo
include headers if needed and include config.h
2021-01-21more OpenBSD goodiesOmar Polo
2021-01-21typoOmar Polo
2021-01-21don't include config.h thereOmar Polo
2021-01-21add a configure script and some compatOmar Polo
tested on openbsd, alpine and void