Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The spiped secure pipe daemon. Parent comment
Good point. I'm used to FreeBSD, where /dev/urandom and /dev/random are the same device.
you should probably #include <string.h> in lib/events/events_network.c for memset() as used in FD_ZERO
POSIX says that <sys/select.h> is all you need.
OpenBSD has no -lrt either, so I just removed that.
POSIX says that -lrt must work (having a librt isn't required, but if you don't have one the compiler must ignore -lrt).
Hopefully these will either get fixed in OpenBSD or as patches in ports/security/spiped if someone decides to add spiped to the OpenBSD ports tree.
Good point. I'm used to FreeBSD, where /dev/urandom and /dev/random are the same device.
you should probably #include <string.h> in lib/events/events_network.c for memset() as used in FD_ZERO
POSIX says that <sys/select.h> is all you need.
OpenBSD has no -lrt either, so I just removed that.
POSIX says that -lrt must work (having a librt isn't required, but if you don't have one the compiler must ignore -lrt).
Hopefully these will either get fixed in OpenBSD or as patches in ports/security/spiped if someone decides to add spiped to the OpenBSD ports tree.