Brad, here are some additional fixes in httpd-2.0.
The first fix (config.c.patch) is related to a known issue caused by
uninitialized variables - if such symbol is exported, invalid reference
is stored in created a NLM file and it's then unworkable (a nlmconv
utility used for link is not able to allocate a space for uninitialized
data within the NLM module file). It's not the final list of unitialized
variables needed to change to initialized, but it is sufficient in this
stage of my work. Or do you have a better idea how to fix this issue? I
didn't tested yet what happens when Watcom's compiler is used for link.
Unfortunately I still have no makefile to build the Apache core module
with Watcom - wmake is a bit lumpish and it's impossible to do such
things like with the GNU make...
The second one: Please, don't use the backslashes and capitals within
the #include directives - no problem in Win32 environments, but it
causes problems when building with the GNU utilities on Linux.
Thanks,
Pavel
--- original/server/config.c Sat Nov 24 06:12:28 2001
+++ modified/server/config.c Fri Dec 7 00:22:40 2001
@@ -97,13 +97,13 @@
AP_DECLARE_DATA const char *ap_server_argv0;
-AP_DECLARE_DATA const char *ap_server_root;
+AP_DECLARE_DATA const char *ap_server_root = NULL;
AP_DECLARE_DATA apr_array_header_t *ap_server_pre_read_config;
AP_DECLARE_DATA apr_array_header_t *ap_server_post_read_config;
AP_DECLARE_DATA apr_array_header_t *ap_server_config_defines;
-AP_DECLARE_DATA ap_directive_t *ap_conftree;
+AP_DECLARE_DATA ap_directive_t *ap_conftree = NULL;
APR_HOOK_STRUCT(
APR_HOOK_LINK(header_parser)
--- original/server/mpm/netware/mpm_netware.c Mon Nov 19 18:12:30 2001
+++ modified/server/mpm/netware/mpm_netware.c Sat Dec 8 02:17:34 2001
@@ -122,7 +122,7 @@
#include <signal.h>
#include <netware.h>
-#include <nks\netware.h>
+#include <nks/netware.h>
#include <library.h>
#define WORKER_DEAD SERVER_DEAD