dgaudet 99/04/20 11:36:10
Modified: src CHANGES
src/main http_protocol.c
Log:
deal with UTS compiler error
PR: 4189
Submitted by: Dave Dykstra <[EMAIL PROTECTED]>
Revision Changes Path
1.1312 +3 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.1311
retrieving revision 1.1312
diff -u -r1.1311 -r1.1312
--- CHANGES 1999/04/20 17:51:35 1.1311
+++ CHANGES 1999/04/20 18:36:01 1.1312
@@ -1,5 +1,8 @@
Changes with Apache 1.3.7
+ *) PORT: deal with UTS compiler error in http_protocol.c
+ [Dave Dykstra <[EMAIL PROTECTED]>] PR#4189
+
*) Add ap_vrprintf() function. [John Tobey <[EMAIL PROTECTED]>] PR#4246
*) Fix the mod_mime hash table to work properly with locales other
1.263 +10 -1 apache-1.3/src/main/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_protocol.c,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -r1.262 -r1.263
--- http_protocol.c 1999/04/20 17:51:38 1.262
+++ http_protocol.c 1999/04/20 18:36:07 1.263
@@ -1170,7 +1170,16 @@
* and must be listed in order.
*/
-static const char * const status_lines[RESPONSE_CODES] = {
+#ifdef UTS21
+/* The second const triggers an assembler bug on UTS 2.1.
+ * Another workaround is to move some code out of this file into another,
+ * but this is easier. Dave Dykstra, 3/31/99
+ */
+static const char * status_lines[RESPONSE_CODES] =
+#else
+static const char * const status_lines[RESPONSE_CODES] =
+#endif
+{
"100 Continue",
"101 Switching Protocols",
"102 Processing",