httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: cvs commit: apache-1.3 STATUS
Date Mon, 10 Sep 2001 13:43:25 GMT
trawick@apache.org wrote:
> 
> trawick     01/09/10 05:34:50
> 
>   Modified:    .        STATUS
>   Log:
>   1.3 won't compile with Sun WorkShop.
>   
>   My feelings certainly won't be hurt if somebody else jumps in :)  I
>   need to get some other stuff off my plate before looking into this.
>   

Try this patch... Works under Solaris 8, Darwin, FreeBSD (3/4) and
A/UX: 

Index: src/main/http_main.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.549
diff -u -u -r1.549 http_main.c
--- src/main/http_main.c	2001/09/06 17:38:02	1.549
+++ src/main/http_main.c	2001/09/10 13:38:47
@@ -4108,7 +4108,7 @@
 
     /* needs to be done before we switch UIDs so we have permissions */
     reopen_scoreboard(pchild);
-    SAFE_ACCEPT((accept_mutex_child_init(pchild)));
+    SAFE_ACCEPT(accept_mutex_child_init(pchild));
 
     set_group_privs();
 #ifdef MPE
@@ -4206,7 +4206,7 @@
 	 */
 
 	/* Lock around "accept", if necessary */
-	SAFE_ACCEPT((accept_mutex_on()));
+	SAFE_ACCEPT(accept_mutex_on());
 
 	for (;;) {
 	    if (ap_listeners->next != ap_listeners) {
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
                   will lose both and deserve neither"

Mime
View raw message