From: Neil Brown Date: Fri, 20 Apr 2007 02:42:46 +0000 (+1000) Subject: Remove setsid references. X-Git-Tag: portmap_6.0~8 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=ddbcade3e3c4decdff3ac19cbb6fa6f49a3a00d4;p=portmap.git Remove setsid references. They aren't used so.... --- diff --git a/Makefile b/Makefile index a05f9fe..7131fc8 100644 --- a/Makefile +++ b/Makefile @@ -77,9 +77,7 @@ ZOMBIES = -DIGNORE_SIGCHLD # AIX 4.x, HP-UX 9.x # # ULONG =-Du_long="unsigned long" -# NEXTSTEP is a little different. The following seems to work with NS 3.2 # -# SETPGRP =-DUSE_SETPGRP00 # LIBS = -m # NSARCHS = -arch m68k -arch i386 -arch hppa @@ -100,7 +98,7 @@ RPM_OPT_FLAGS = -O2 COPT = $(CONST) $(HOSTS_ACCESS) $(CHECK_PORT) \ $(SYS) -DFACILITY=$(FACILITY) $(ULONG) $(ZOMBIES) $(SA_LEN) \ - $(LOOPBACK) $(SETPGRP) + $(LOOPBACK) CFLAGS = $(COPT) $(RPM_OPT_FLAGS) $(NSARCHS) -Wall -Wstrict-prototypes \ -fpie OBJECTS = portmap.o pmap_check.o from_local.o diff --git a/portmap.c b/portmap.c index eb3f431..d13fa74 100644 --- a/portmap.c +++ b/portmap.c @@ -119,10 +119,6 @@ static char sccsid[] = "@(#)portmap.c 1.32 87/08/06 Copyr 1984 Sun Micro"; # define svc_getcaller svc_getrpccaller #endif -#ifdef USE_SETPGRP00 -#define setsid() setpgrp(0,0) -#endif - static void reg_service(struct svc_req *rqstp, SVCXPRT *xprt); #ifndef IGNORE_SIGCHLD /* Lionel Cons */ static void reap(int);