freebsd-ports/www/suphp/files/patch-src::apache2::mod_suphp.c
Clement Laforet 686ce339ee - Update to 0.5.2
Add a workaroung to make it work with apache 2 (due to an apr bug)
  (so be careful)
- Pass maintainership to submitter

PR:             ports/69048
Submitted by:   Jeremy Chadwick <freebsd@jdc.parodius.com>
2004-07-15 22:13:36 +00:00

16 lines
652 B
C

--- src/apache2/mod_suphp.c.orig Tue Jul 13 02:43:41 2004
+++ src/apache2/mod_suphp.c Wed Jul 14 01:51:27 2004
@@ -463,7 +463,13 @@
if (((rv = apr_procattr_create(&procattr, p)) != APR_SUCCESS)
|| ((rv = apr_procattr_io_set(procattr, APR_CHILD_BLOCK, APR_CHILD_BLOCK, APR_CHILD_BLOCK)) != APR_SUCCESS)
+
+/* XXX: Pending review by both the Apache APR folks, as well as the suPHP folks. See thread:
+ * http://lists.marsching.biz/pipermail/suphp/2004-July/000756.html
+ */
+/*
|| ((rv = apr_procattr_dir_set(procattr, ap_make_dirstr_parent(r->pool, r->filename))) != APR_SUCCESS)
+*/
/* set resource limits */