On 14 August 2016 at 11:11, Hiltjo Posthuma <hil...@codemadness.org> wrote:
> In general we should try to avoid ifdefs asmuch as possible. But I would not
> mind the pledge in the form:
>
>         #ifdef __OpenBSD__
>         if (pledge("stdio", NULL) == -1)
>                 eprint("error: pledge:");
>         #endif
>
> Also in my opinion we should just import the OpenBSD strlcpy() version or
> rename the current one, it has not the same behaviour as strlcpy and is
> confusing.
>
> Attached is my proposed patch.

ACK

-Anselm

Reply via email to