summaryrefslogtreecommitdiff
path: root/net/rinetd/files/patch-rinetd.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-30 12:05:40 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-30 12:05:40 +0000
commit29cce7361b7b637c109fcbc3a86518aa85aecf15 (patch)
tree2ebd6b82f036f6767349bf590de0cbe3e4f1088e /net/rinetd/files/patch-rinetd.c
parentUpdate to 1.23.1 (diff)
- Make portlint happy
- Use USE_RC_SUBR facility - Rename patch-a* files - Remove one uneeded patch and use REINPLACE_CMD instead - Take maintainership
Notes
Notes: svn path=/head/; revision=143833
Diffstat (limited to 'net/rinetd/files/patch-rinetd.c')
-rw-r--r--net/rinetd/files/patch-rinetd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/rinetd/files/patch-rinetd.c b/net/rinetd/files/patch-rinetd.c
new file mode 100644
index 000000000000..c7797d5978ce
--- /dev/null
+++ b/net/rinetd/files/patch-rinetd.c
@@ -0,0 +1,10 @@
+--- rinetd.c.orig Thu Jul 19 22:19:59 2001
++++ rinetd.c Thu Jul 19 22:20:26 2001
+@@ -243,6 +243,7 @@
+ signal(SIGHUP, hup);
+ #endif /* WIN32 */
+ signal(SIGTERM, term);
++ setsid();
+ initArrays();
+ readConfiguration();
+ RegisterPID();