On Thu, Mar 26, 2020 at 08:13:23PM +0000, Richard W.M. Jones wrote:
diff --git a/server/public.c b/server/public.c
index 33d40688..56302bb4 100644
--- a/server/public.c
+++ b/server/public.c
@@ -30,34 +30,21 @@
...
-#include <poll.h>
FWIW it was dropping this header which was causing
test-delay-shutdown.sh to fail.
Because nbdkit_shutdown tests for defined(POLLRDHUP), which was no
longer defined, so it was falling back to the nanosleep(2) version of
the function, and that broke the test because it actually slept.
I've added it back to my local copy.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/