You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by pg...@sweng.stortek.com on 1999/11/30 19:27:50 UTC
OS/390 Structure (Was: [PATCH]Apache 1.3.9 Port to OS/390 Unix System Services)
In a recent note, Ovies Brabson said:
> Date: Tue, 30 Nov 1999 04:41:43 -0800
>
> + OSDIR='os/os390'
Is this best done with a new os/os390 subdirectory? Since IBM
proudly proclaims, "MVS _is_ UNIX," I've been testing with patches
to os/unix. I copied ebcdic.c and ebcdic.h from os/tpf to os/unix,
and enabled them with:
diff -bru orig/apache-1.3/src/os/unix/os.c apache-1.3/src/os/unix/os.c
--- orig/apache-1.3/src/os/unix/os.c Wed Oct 13 01:12:51 1999
+++ apache-1.3/src/os/unix/os.c Mon Nov 29 20:14:37 1999
@@ -21,6 +21,13 @@
#endif
/*
+ * Insert the EBCDIC support code for OS/390
+ */
+#ifdef CHARSET_EBCDIC
+#include "ebcdic.c"
+#endif /*CHARSET_EBCDIC*/
+
+/*
* Abstraction layer for loading
* Apache modules under run-time via
* dynamic shared object (DSO) mechanism
etc. There's precedent for this construct: adjacent code does
the similar:
/*
* Insert the DSO emulation code for AIX
*/
#ifdef AIX
#include "os-aix-dso.c"
#endif
-- gil
--
StorageTek
INFORMATION made POWERFUL