summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miƛkiewicz2009-07-05 17:27:34 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitb703a0e45b583ffae4d9222cbcb922bac2e8dcc1 (patch)
treed5f5d59b642de0c9f91ca1811b74dcd8d8ef7922
parent49e87d62c1720cf1d0bcc9bf84502b9de363d646 (diff)
downloadpostfix-b703a0e45b583ffae4d9222cbcb922bac2e8dcc1.zip
postfix-b703a0e45b583ffae4d9222cbcb922bac2e8dcc1.tar.gz
- drop obsolete files
Changed files: postfix-setsid.patch -> 1.2
-rw-r--r--postfix-setsid.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/postfix-setsid.patch b/postfix-setsid.patch
deleted file mode 100644
index 0094860..0000000
--- a/postfix-setsid.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -dur -x '*~' postfix-2.2.3.orig/src/master/master.c postfix-2.2.3/src/master/master.c
---- postfix-2.2.3.orig/src/master/master.c 2005-02-15 01:36:58.000000000 +0100
-+++ postfix-2.2.3/src/master/master.c 2005-06-01 09:55:35.000000000 +0200
-@@ -289,8 +289,8 @@
- * all MTA processes cleanly. Give up if we can't separate from our
- * parent process. We're not supposed to blow away the parent.
- */
-- if (debug_me == 0 && setsid() == -1)
-- msg_fatal("unable to set session and process group ID: %m");
-+ if (debug_me == 0 && setsid() == -1 && getsid(0) != getpid())
-+ msg_fatal("unable to set session and process group ID: %m (pid=%d, sid=%d)", (int)getpid(), (int)getsid(0));
-
- /*
- * Make some room for plumbing with file descriptors. XXX This breaks