head	1.3;
access;
symbols
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2003.05.03.21.01.46;	author vanilla;	state dead;
branches;
next	1.2;

1.2
date	2000.11.12.02.45.08;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	2000.03.26.09.25.40;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Upgrade to 2.3.11.

PR:		ports/51134
Submitted by:	Christopher Nehren <apeiron@@comcast.net>
@
text
@--- xinetd/xgetloadavg.c.orig	Wed Aug 16 01:32:49 2000
+++ xinetd/xgetloadavg.c	Sat Nov 11 14:48:29 2000
@@@@ -77,6 +77,21 @@@@
 }
 #endif /* HAVE_KSTAT */
 #endif /* solaris */
+#ifdef __FreeBSD__
+
+#include <stdio.h>
+#include <sys/param.h>
+#include <sys/fcntl.h>
+
+double xgetloadavg ()
+{
+	double ret[3];
+
+	getloadavg (ret, sizeof (ret) / sizeof (ret[0]));
+
+	return ret[0];
+}
+#endif /* __FreeBSD__ */
 
 #ifdef __osf__
 
@


1.2
log
@Upgrade to 2.1.8.9pre12.
@
text
@@


1.1
log
@Upgrade to 2.1.8.8p2, and add libwrap & loadavg support.
@
text
@d1 3
a3 3
--- xinetd/xgetloadavg.c.orig	Sun Mar 26 12:17:16 2000
+++ xinetd/xgetloadavg.c	Sun Mar 26 12:19:37 2000
@@@@ -79,3 +79,18 @@@@
d22 3
@

