You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/03/29 15:59:07 UTC

svn commit: r759682 - in /httpd/httpd/trunk: modules/http/http_protocol.c server/mpm/prefork/prefork.c

Author: trawick
Date: Sun Mar 29 13:59:07 2009
New Revision: 759682

URL: http://svn.apache.org/viewvc?rev=759682&view=rev
Log:
axe ancient platform checks

Modified:
    httpd/httpd/trunk/modules/http/http_protocol.c
    httpd/httpd/trunk/server/mpm/prefork/prefork.c

Modified: httpd/httpd/trunk/modules/http/http_protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_protocol.c?rev=759682&r1=759681&r2=759682&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_protocol.c (original)
+++ httpd/httpd/trunk/modules/http/http_protocol.c Sun Mar 29 13:59:07 2009
@@ -64,15 +64,7 @@
  * and must be listed in order.
  */
 
-#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",

Modified: httpd/httpd/trunk/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/prefork/prefork.c?rev=759682&r1=759681&r2=759682&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Sun Mar 29 13:59:07 2009
@@ -131,9 +131,7 @@
 
 static pid_t ap_my_pid; /* it seems silly to call getpid all the time */
 static pid_t parent_pid;
-#ifndef MULTITHREAD
 static int my_child_num;
-#endif
 static ap_generation_t volatile my_generation=0;
 
 static volatile int die_now = 0;