Loading...
stdio/FreeBSD/fwrite.c Libc-1725.40.4 Libc-1583.60.2
--- Libc/Libc-1725.40.4/stdio/FreeBSD/fwrite.c
+++ Libc/Libc-1583.60.2/stdio/FreeBSD/fwrite.c
@@ -42,7 +42,6 @@
 #include "local.h"
 #include "fvwrite.h"
 #include "libc_private.h"
-#include "libc_hooks_impl.h"
 
 /*
  * The maximum amount to write to avoid integer overflow (especially for
@@ -75,8 +74,6 @@
 	uio.uio_iov = &iov;
 	uio.uio_iovcnt = 1;
 
-	libc_hooks_will_write(fp, sizeof(*fp));
-
 	FLOCKFILE(fp);
 	ORIENT(fp, -1);
 
@@ -84,8 +81,6 @@
 		s = resid > INT_MAX ? MAXWRITE : (int)resid;
 		iov.iov_base = (void *)buf;
 		uio.uio_resid = iov.iov_len = s;
-
-		libc_hooks_will_read(buf, s);
 
 		/*
 		 * The usual case is success (__sfvwrite returns 0);