diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2002-07-21 02:23:33 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2002-07-21 02:23:33 +0000 |
commit | 1e1df07282d1c7a98c7ffae7e7e6c6d2a9c7af27 (patch) | |
tree | a2c9837d1f55698fe9363480361ee810419249fb /www/apache21/files/patch-srclib:apr:threadproc:unix:procsup.c | |
parent | Bump portrevision (textproc/expat2 shlib bump). (diff) |
- Add a small hack for worker MPM [1]
(worker MPM with this hack seems to work without visible problems.
and still requires -DFORCE_THREADING_MPM to build for worker MPM.)
- Fix plist for worker MPM
- Comment out fancy modules from default httpd.conf
Tested on: ref5.freebsd.org, several 4-stable machines [1]
Notes
Notes:
svn path=/head/; revision=63298
Diffstat (limited to 'www/apache21/files/patch-srclib:apr:threadproc:unix:procsup.c')
-rw-r--r-- | www/apache21/files/patch-srclib:apr:threadproc:unix:procsup.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www/apache21/files/patch-srclib:apr:threadproc:unix:procsup.c b/www/apache21/files/patch-srclib:apr:threadproc:unix:procsup.c new file mode 100644 index 000000000000..13c663af7bd4 --- /dev/null +++ b/www/apache21/files/patch-srclib:apr:threadproc:unix:procsup.c @@ -0,0 +1,18 @@ +--- srclib/apr/threadproc/unix/procsup.c.orig Mon Apr 8 22:08:18 2002 ++++ srclib/apr/threadproc/unix/procsup.c Sun Jul 21 08:45:44 2002 +@@ -59,6 +59,7 @@ + int x; + + chdir("/"); ++#ifndef FREEBSD_THREAD_HACK + #if !defined(MPE) && !defined(OS2) && !defined(TPF) && !defined(BEOS) + /* Don't detach for MPE because child processes can't survive the death of + * the parent. */ +@@ -89,6 +90,7 @@ + if (setpgid(0, 0) == -1) { + return errno; + } ++#endif + #endif + + /* close out the standard file descriptors */ |