On 8 March 2017 at 14:51, Joerg Jung wrote:
>> On 22 Aug 2016, at 11:19, Anselm R Garbe wrote:
>> On 14 August 2016 at 11:11, Hiltjo Posthuma wrote:
>>> In general we should try to avoid ifdefs asmuch as possible. But I would not
>>> mind the pledge in the form:
>>>
>>>#ifdef __OpenBSD__
> On 22 Aug 2016, at 11:19, Anselm R Garbe wrote:
> On 14 August 2016 at 11:11, Hiltjo Posthuma 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)
>>
On 14 August 2016 at 11:11, Hiltjo Posthuma 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
>
> On 14 Aug 2016, at 11:11, Hiltjo Posthuma wrote:
>
> On Sun, Aug 14, 2016 at 12:30:46AM +0200, Joerg Jung wrote:
>> Hi,
>>
>> please find below a diff for sic to enable pledge() to be used on
>> OpenBSD. This diff was originally submitted by Ali H. Fardan via
>> po...@openbsd.org. While her
On Sun, Aug 14, 2016 at 12:30:46AM +0200, Joerg Jung wrote:
> Hi,
>
> please find below a diff for sic to enable pledge() to be used on
> OpenBSD. This diff was originally submitted by Ali H. Fardan via
> po...@openbsd.org. While here, I enabled the usage of strlcpy()
> from libc on OpenBSD.
>
Hi,
please find below a diff for sic to enable pledge() to be used on
OpenBSD. This diff was originally submitted by Ali H. Fardan via
po...@openbsd.org. While here, I enabled the usage of strlcpy()
from libc on OpenBSD.
Honestly, I'm not sure about how such portability goo should be
handled