pierre-philipp braun writes:
> (solved) I checked pkgsrc/net/nsd/Makefile again and
> `CPPFLAGS="-D_OPENBSD_SOURCE"` did the trick
>
> .if ${OPSYS} == "NetBSD"
> # For reallocarray(3)
> CPPFLAGS+= -D_OPENBSD_SOURCE
> .endif
If there isn't an upstream bug, could you file one? It seems tha
(solved) I checked pkgsrc/net/nsd/Makefile again and
`CPPFLAGS="-D_OPENBSD_SOURCE"` did the trick
.if ${OPSYS} == "NetBSD"
# For reallocarray(3)
CPPFLAGS+= -D_OPENBSD_SOURCE
.endif
ck with v4.1.25 and v4.1.19 (ktrace/kdump below) -
same result.
http://tmp.nethence.com/ktrace/nsd.out
nevermind the pid file error, as it remains there when dying. I suppose the
right spot is `errno 55 No buffer space available` -- how to deal with that?
Thanks