httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r905302 - in /httpd/mod_fcgid/trunk: CHANGES-FCGID modules/fcgid/fcgid_mutex_unix.c
Date Mon, 01 Feb 2010 15:21:11 GMT
Author: trawick
Date: Mon Feb  1 15:21:00 2010
New Revision: 905302

URL: http://svn.apache.org/viewvc?rev=905302&view=rev
Log:
Resolve a regression in 2.3.5 with httpd 2.0.x on some Unix platforms;
ownership of mutex files was incorrect, resulting in a startup failure.

PR: 48651
Helped by: <pservit gmail.com>

Modified:
    httpd/mod_fcgid/trunk/CHANGES-FCGID
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c

Modified: httpd/mod_fcgid/trunk/CHANGES-FCGID
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/CHANGES-FCGID?rev=905302&r1=905301&r2=905302&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/CHANGES-FCGID [utf8] (original)
+++ httpd/mod_fcgid/trunk/CHANGES-FCGID [utf8] Mon Feb  1 15:21:00 2010
@@ -1,6 +1,10 @@
                                                          -*- coding: utf-8 -*-
 Changes with mod_fcgid 2.3.6
 
+  *) Resolve a regression in 2.3.5 with httpd 2.0.x on some Unix platforms;
+     ownership of mutex files was incorrect, resulting in a startup failure.
+     PR 48651.  [Jeff Trawick, <pservit gmail.com>]
+
   *) Return 500 instead of segfaulting when the application returns no output.
      [Tatsuki Sugiura <sugi nemui.org>, Jeff Trawick]
 

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c?rev=905302&r1=905301&r2=905302&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c Mon Feb  1 15:21:00 2010
@@ -54,8 +54,16 @@
 
 #else
 
+/* no support for Mutex directive and related APIs */
+
 #include "ap_mpm.h"
 
+#if MODULE_MAGIC_NUMBER_MAJOR < 20051115
+#ifndef AP_NEED_SET_MUTEX_PERMS
+#define AP_NEED_SET_MUTEX_PERMS 1
+#endif
+#endif
+
 #if AP_NEED_SET_MUTEX_PERMS
 #include "unixd.h"
 #endif



Mime
View raw message