From d024be641cebcddfe529bc64014863b3eadfd336 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 15 Dec 2014 23:32:31 +0000 Subject: Add a note about why fixing NetBSD's kqueue support is harder than it looks. --- infrastructure/m4/boxbackup_tests.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'infrastructure/m4') diff --git a/infrastructure/m4/boxbackup_tests.m4 b/infrastructure/m4/boxbackup_tests.m4 index 7248a74b..44117d8f 100644 --- a/infrastructure/m4/boxbackup_tests.m4 +++ b/infrastructure/m4/boxbackup_tests.m4 @@ -285,7 +285,10 @@ AC_CHECK_FUNCS([utimensat]) AC_SEARCH_LIBS([setproctitle], ["bsd"]) # NetBSD implements kqueue too differently for us to get it fixed by 0.10 -# TODO: Remove this when NetBSD kqueue implementation is working +# TODO: Remove this when NetBSD kqueue implementation is working. The main +# thing to fix is that ServerStream needs to put a pointer into WaitForEvent, +# which wants to store it in struct kevent.udata, but on NetBSD that's an +# intptr_t instead of a void *, and it doesn't like accepting pointers. netbsd_hack=`echo $target_os | sed 's/netbsd.*/netbsd/'` if test "$netbsd_hack" != "netbsd"; then AC_CHECK_FUNCS([kqueue]) -- cgit v1.2.3