summaryrefslogtreecommitdiff
path: root/security/xinetd/files/patch-xinetd_child.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2023-03-21 11:24:33 -0300
committerRenato Botelho <garga@FreeBSD.org>2023-03-21 11:27:02 -0300
commit5af0ec07983e27d6c4cfea2bf43672981e7fbfb9 (patch)
tree3f28b4586715128b74ead7c25a36f19a78a50f34 /security/xinetd/files/patch-xinetd_child.c
parentx11/xfce4-clipman-plugin: Update to 1.6.3 (diff)
security/xinetd: Make it fetchable and fix WWW
Original site is gone but code is still available on github. Changed WWW to point to github and also consumes source code from there. I've compared content of current github code and original tarball and it was just missing one function from xgetloadavg.c, now added using patch. While here, re-generate patches. PR: 270345 Reported by: diizzy
Diffstat (limited to 'security/xinetd/files/patch-xinetd_child.c')
-rw-r--r--security/xinetd/files/patch-xinetd_child.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/security/xinetd/files/patch-xinetd_child.c b/security/xinetd/files/patch-xinetd_child.c
index 6ddbf9125988..82a0d106a878 100644
--- a/security/xinetd/files/patch-xinetd_child.c
+++ b/security/xinetd/files/patch-xinetd_child.c
@@ -1,6 +1,6 @@
---- xinetd/child.c.orig 2016-07-13 19:00:31 UTC
+--- xinetd/child.c.orig 2012-05-09 16:03:17 UTC
+++ xinetd/child.c
-@@ -168,7 +168,8 @@ void exec_server( const struct server *s
+@@ -168,7 +168,8 @@ void exec_server( const struct server *serp )
}
#endif
@@ -10,15 +10,15 @@
#ifndef solaris
#if !defined(HAVE_SETSID)
-@@ -321,11 +322,6 @@ void child_process( struct server *serp
+@@ -320,11 +321,6 @@ void child_process( struct server *serp )
+ }
signals_pending[0] = -1;
signals_pending[1] = -1;
-
+-
- Sclose(0);
- Sclose(1);
- Sclose(2);
-
--
+
#ifdef DEBUG_SERVER
if ( debug.on )
- {