From: Ian Jackson Date: Wed, 30 Nov 2016 23:29:03 +0000 (+0000) Subject: regress: fuzzraw: implement poll X-Git-Tag: adns-1.6.0~29 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5e089900768eaf85581bdeaf0a9d64668f9e1ddd;p=adns.git regress: fuzzraw: implement poll Signed-off-by: Ian Jackson --- diff --git a/regress/hplayback.c.m4 b/regress/hplayback.c.m4 index 4ab05c1..dd98f0e 100644 --- a/regress/hplayback.c.m4 +++ b/regress/hplayback.c.m4 @@ -265,6 +265,7 @@ static void Ppollfds(struct pollfd *fds, int nfds) { if (gotevents != fds->events) Psyntax("poll fds[].events changed"); Pstring(", revents=",", revents= in pollfds"); fds->revents= Ppollfdevents(); + if (gotevents) FR_WRITE(fds->revents); Pstring("}","} in pollfds"); Pstring(comma,"separator in pollfds"); comma= ", ";