httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r710141 - /httpd/httpd/trunk/modules/arch/netware/mod_netware.c
Date Mon, 03 Nov 2008 19:38:02 GMT
Author: bnicholes
Date: Mon Nov  3 11:38:01 2008
New Revision: 710141

URL: http://svn.apache.org/viewvc?rev=710141&view=rev
Log:
Make sure that the sys_privileges_handlers is set for the NetWare platform

Modified:
    httpd/httpd/trunk/modules/arch/netware/mod_netware.c

Modified: httpd/httpd/trunk/modules/arch/netware/mod_netware.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/arch/netware/mod_netware.c?rev=710141&r1=710140&r2=710141&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/arch/netware/mod_netware.c (original)
+++ httpd/httpd/trunk/modules/arch/netware/mod_netware.c Mon Nov  3 11:38:01 2008
@@ -167,9 +167,19 @@
     return APR_SUCCESS;
 }
 
+static int 
+netware_pre_config(apr_pool_t *pconf, apr_pool_t *plog,
+                 apr_pool_t *ptemp)
+{
+    sys_privileges_handlers(1);
+    return OK;
+}
+
 static void register_hooks(apr_pool_t *p)
 {
     APR_REGISTER_OPTIONAL_FN(ap_cgi_build_command);
+    ap_hook_pre_config(netware_pre_config,
+                       NULL, NULL, APR_HOOK_FIRST);
 }
 
 static const command_rec netware_cmds[] = {



Mime
View raw message