summaryrefslogtreecommitdiff
path: root/net/pen/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/pen/patches/patch-ab')
-rw-r--r--net/pen/patches/patch-ab40
1 files changed, 0 insertions, 40 deletions
diff --git a/net/pen/patches/patch-ab b/net/pen/patches/patch-ab
deleted file mode 100644
index 03c6c659e7b..00000000000
--- a/net/pen/patches/patch-ab
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/08/21 12:00:14 rh Exp $
-
---- pen.c.orig Mon Aug 20 21:02:54 2001
-+++ pen.c
-@@ -33,6 +33,7 @@
- #include <sys/socket.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <sys/param.h>
- #include <fcntl.h>
- #include <unistd.h>
- #include <syslog.h>
-@@ -465,6 +466,7 @@
- exit(0);
- }
-
-+#if !(defined(BSD) && BSD >= 199306)
- static void background(void)
- {
- int childpid;
-@@ -478,6 +480,7 @@
- setpgrp();
- signal(SIGCHLD, SIG_IGN);
- }
-+#endif
-
- static void init(int argc, char **argv)
- {
-@@ -817,7 +820,11 @@
- signal(SIGCHLD, SIG_IGN);
-
- if (!foreground) {
-+#if (defined(BSD) && BSD >= 199306)
-+ daemon(0, 0);
-+#else
- background();
-+#endif
- }
-
- listenfd = open_listener(argv[0]);