freebsd-ports/net/openvmps/files/patch-aa
Joe Marcus Clarke a3580faa2b Add OpenVMPS, a GPL implementation of a VLAN Management Policy Server. VMPS
allows for dynamic VLAN membership on Cisco switches.

PR:		57723
Submitted by:	Craig Boston <craig@yekse.gank.org>
2003-10-08 02:57:42 +00:00

31 lines
530 B
Text

--- daemon.c.orig Mon Oct 6 16:32:28 2003
+++ daemon.c Mon Oct 6 16:37:02 2003
@@ -10,8 +10,10 @@
#ifdef SETPGRP_VOID
#define SYSV
#else
+#ifndef BSD
#define BSD
#endif
+#endif
extern int errno;
@@ -30,7 +32,7 @@
#ifdef BSD
int pid;
- union wait status;
+ int status;
while ( (pid = wait3(&status, WNOHANG, (struct rusage *) 0)) > 0 ) ;
#endif
@@ -105,7 +107,7 @@
#ifdef BSD
RETSIGTYPE sig_child();
- signal(SIGCLD, sig_child);
+ signal(SIGCHLD, sig_child);
#else
signal(SIGCLD,SIG_IGN);
#endif