Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
HAVE_PROGRAM_INVOCATION_SHORT_NAME is always defined; look at wether
it's zero or not.
|
|
original commit from eric@:
change the barrier so that fd's are always passed and received with
the first byte of the imsg they belong to.
idea, tweaks and ok claudio@
|
|
original commit from claudio@:
Type-cast getpagesize() from int to size_t for the comparison with d.
getpagesize() will only return positive numbers (there is no negative
page size system) and it can not fail.
Should fix some compiler warnings seen in -portable projects.
OK otto@
|
|
Passing a NULL pointer to memcpy is UB no matter if len is 0 (commit by
claudio@, backporting for gmid.)
|
|
|
|
|
|
|
|
|
|
|
|
but why'd they called it program_invocation_short_name? They couldn't
find a longer name?
|
|
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.)
|
|
include headers if needed and include config.h
|
|
|
|
|
|
|
|
tested on openbsd, alpine and void
|