Following the recent discussions, here's another pidfile(3) removal.
route6d(8) doesn't document it.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/src/usr.sbin/route6d/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    19 Dec 2006 15:06:10 -0000      1.7
+++ Makefile    25 Oct 2015 22:12:00 -0000
@@ -2,7 +2,5 @@
 
 PROG=  route6d
 MAN=   route6d.8
-LDADD+=        -lutil
-DPADD+=        ${LIBUTIL}
 
 .include <bsd.prog.mk>
Index: route6d.c
===================================================================
RCS file: /cvs/src/usr.sbin/route6d/route6d.c,v
retrieving revision 1.70
diff -u -p -r1.70 route6d.c
--- route6d.c   18 Oct 2015 14:35:36 -0000      1.70
+++ route6d.c   25 Oct 2015 22:12:22 -0000
@@ -372,8 +372,6 @@ main(int argc, char *argv[])
        if (dflag)
                ifrtdump(0);
 
-       pidfile(NULL);
-
        if ((ripbuf = malloc(RIP6_MAXMTU)) == NULL) {
                fatal("malloc");
                /*NOTREACHED*/


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to