]> git.neil.brown.name Git - portmap.git/commitdiff
Remove setsid references.
authorNeil Brown <neilb@notabene.brown>
Fri, 20 Apr 2007 02:42:46 +0000 (12:42 +1000)
committerNeil Brown <neilb@notabene.brown>
Fri, 20 Apr 2007 02:42:46 +0000 (12:42 +1000)
They aren't used so....

Makefile
portmap.c

index a05f9fe702d233f43cf74340a9b19d3ba0f28054..7131fc8553dfcd8a105bb4c7beec7ac345f45c89 100644 (file)
--- 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
index eb3f43184da6307c102f1318db6fbe1feff941db..d13fa7444fbd405956142aef1d56547b25b40d97 100644 (file)
--- 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 <cons@dxcern.cern.ch> */
 static void reap(int);