You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Victor J. Orlikowski" <vj...@raleigh.ibm.com> on 2000/06/22 00:08:37 UTC

[PATCH] Fix to boogs in 64 bit patch

Index: src/modules/mpm/dexter/dexter.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/mpm/dexter/dexter.c,v
retrieving revision 1.98
diff -u -r1.98 dexter.c
--- dexter.c    2000/06/21 13:15:27     1.98
+++ dexter.c    2000/06/21 22:07:42
@@ -787,7 +788,9 @@
     listenfds[0].events = POLLIN;
     listenfds[0].revents = 0;
     for (lr = ap_listeners, i = 1; i <= num_listenfds; lr = lr->next,
++i) {
-        ap_get_os_sock(&listenfds[i].fd, lr->sd);
+        ap_os_sock_t sock;
+        ap_get_os_sock(&sock, lr->sd);
+        listenfds[i].fd = sock;
         listenfds[i].events = POLLIN; /* should we add POLLPRI ?*/
         listenfds[i].revents = 0;
     }


Re: [PATCH] Fix to boogs in 64 bit patch

Posted by "Victor J. Orlikowski" <vj...@raleigh.ibm.com>.
Will do. My apologies.

Victor


Re: [PATCH] Fix to boogs in 64 bit patch

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
"Victor J. Orlikowski" wrote:
> 
>      listenfds[0].revents = 0;
>      for (lr = ap_listeners, i = 1; i <= num_listenfds; lr = lr->next,
> ++i) {
> -        ap_get_os_sock(&listenfds[i].fd, lr->sd);

Looks like linewrap again..  Can you turn that off, Victor?
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>