diff src/getloadavg.c @ 24977:35dbf8bf3588

* Fix memory leaks, fd leaks, and some long-standing bugs recognizing when targets need to have their modtimes rechecked (-n, etc.)
author Paul D. Smith <psmith@BayNetworks.com>
date Tue, 20 Jul 1999 22:34:43 +0000
parents 7addb1da4b2b
children 718b60b51f2e
line wrap: on
line diff
--- a/src/getloadavg.c	Tue Jul 20 22:14:00 1999 +0000
+++ b/src/getloadavg.c	Tue Jul 20 22:34:43 1999 +0000
@@ -966,7 +966,7 @@
 	{
 	  /* Set the channel to close on exec, so it does not
 	     litter any child's descriptor table.  */
-#   ifdef FD_SETFD
+#   ifdef F_SETFD
 #    ifndef FD_CLOEXEC
 #     define FD_CLOEXEC 1
 #    endif