diff fuzz.h @ 1358:6b89eb92f872 fuzz

glaring wrapfd problems fixed
author Matt Johnston <matt@ucc.asn.au>
date Sat, 20 May 2017 22:47:19 +0800
parents 08f4fa4dc6a0
children ddfcadca3c4c
line wrap: on
line diff
--- a/fuzz.h	Sat May 20 13:23:16 2017 +0800
+++ b/fuzz.h	Sat May 20 22:47:19 2017 +0800
@@ -23,6 +23,7 @@
         wrapfd_select(nfds, readfds, writefds, exceptfds, timeout)
 #define write(fd, buf, count) wrapfd_write(fd, buf, count)
 #define read(fd, buf, count) wrapfd_read(fd, buf, count)
+#define close(fd) wrapfd_close(fd)
 #endif // FUZZ_SKIP_WRAP
 
 struct dropbear_fuzz_options {