Date: Thu, 3 Feb 2000 16:55:49 +0100 From: Alexander Langer <alex@big.endian.de> To: stb@freebsd.org Cc: ports@freebsd.org Subject: patch to fix your macipgw - port under -current Message-ID: <20000203165549.A74410@cichlids.cichlids.com>
next in thread | raw e-mail | index | archive | help
--LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Hello! This fixes your macipgw port under current. Alex -- I doubt, therefore I might be. --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-aa --- main.c.old Thu Feb 3 15:39:27 2000 +++ main.c Thu Feb 3 16:52:18 2000 @@ -160,8 +160,8 @@ exit (EX_USAGE); } -void main(int argc, char *argv[]) { +int main(int argc, char *argv[]) { struct sigaction sv; u_long net=0, mask=0, ns=0; char *zone = "*"; @@ -209,7 +208,7 @@ openlog ("macipgw", LOG_PID | gDebug ? LOG_PERROR : 0, LOG_DAEMON); sv.sa_handler = die; - sv.sa_mask = 0; + sigemptyset(&(sv.sa_mask)); sv.sa_flags = 0; if (sigaction( SIGTERM, &sv, 0 ) < 0 ) { syslog( LOG_ERR, "sigaction: %m" ); @@ -243,5 +242,6 @@ server(); die (0); + return(0); } --LQksG6bCIzRHxTLp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000203165549.A74410>