martin 99/12/15 14:13:40
Modified: src CHANGES src/include ap_config.h Log: Gil writes: A couple macros that Ms. Brabson :-) had relied on are not defined at OS/390 v1r2. This provides alternatives. I'm skeptical of the value of "#define NSIG SIGDUMP+1" -- it's scarcely a useful parameterization since future extensions to the OS are less likely to change the value of SIGDUMP than to add new SIG* codes with values higher than SIGDUMP. It might be better simply to unconditionally "#define NSIG 40 /* Present highest signal (SIGDUMP) +1*/" With these tweaks, httpd 1.3.10 compiles on OS/390 v1r2 and runs if invoked with "http -X". Curiously, on OS/390 v2r7, the same executable, compiled under v1r2 runs properly without the "-X". Submitted by: Paul Gilmartin <[EMAIL PROTECTED]> Reviewed by: Martin Kraemer Revision Changes Path 1.1479 +4 -0 apache-1.3/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.1478 retrieving revision 1.1479 diff -u -r1.1478 -r1.1479 --- CHANGES 1999/12/09 18:10:24 1.1478 +++ CHANGES 1999/12/15 22:13:22 1.1479 @@ -1,4 +1,8 @@ Changes with Apache 1.3.10 + + *) Improve OS390 port to work on older system releases + [Paul Gilmartin <[EMAIL PROTECTED]>] + *) Enhance mod_mime with an AddCharset directive to properly handle that negotiation dimension. [Youichirou Koga <[EMAIL PROTECTED]>] 1.281 +7 -0 apache-1.3/src/include/ap_config.h Index: ap_config.h =================================================================== RCS file: /export/home/cvs/apache-1.3/src/include/ap_config.h,v retrieving revision 1.280 retrieving revision 1.281 diff -u -r1.280 -r1.281 --- ap_config.h 1999/12/10 11:03:29 1.280 +++ ap_config.h 1999/12/15 22:13:33 1.281 @@ -957,7 +957,11 @@ #define USE_FCNTL_SERIALIZED_ACCEPT #define _POSIX_SOURCE #include <signal.h> +#ifdef SIGDUMP /* SIGDUMP is not defined by OS/390 v1r2 */ #define NSIG SIGDUMP+1 +#else +#define NSIG 40 +#endif #define JMP_BUF sigjmp_buf #define _XOPEN_SOURCE_EXTENDED 1 #define _OPEN_MSGQ_EXT @@ -1075,6 +1079,9 @@ #ifndef TPF #include <netinet/in.h> #endif /* TPF */ +#if defined(OS390) && !defined(NO_ADDRESS) +#define NO_ADDRESS NO_DATA /* Not defined properly by OS/390 v1r2 */ +#endif #include <netdb.h> #include <sys/ioctl.h> #if !defined(MPE) && !defined(BEOS) && !defined(TPF)