httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor J. Orlikowski" <v.j.orlikow...@gte.net>
Subject [PATCH] Re-submit: mod_cgid type complaints
Date Wed, 12 Jul 2000 16:11:36 GMT
Another re-submit, stemming from type complaints on AIX.
The unresolved debate on this patch was the need for socklen_t, which may
not be present. Suggestions on what is to be done for this?

Index: src/modules/standard/mod_cgid.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/standard/mod_cgid.c,v
retrieving revision 1.27
diff -u -r1.27 mod_cgid.c
--- mod_cgid.c	2000/07/11 22:12:18	1.27
+++ mod_cgid.c	2000/07/12 15:45:13
@@ -507,7 +507,8 @@
 { 
     struct sockaddr_un unix_addr;
     int pid; 
-    int sd, sd2, len, rc;
+    int sd, sd2, rc;
+    socklen_t len;
     int errfile;
     mode_t omask;
     server_rec *main_server = data;
@@ -827,7 +828,7 @@
     char **env; 
     struct sockaddr_un unix_addr;
     ap_socket_t *tempsock = NULL;
-    int nbytes;
+    ap_ssize_t nbytes;
     ap_iol *iol;
     script = ap_bcreate(r->pool, B_RDWR); 

-- 
Victor J. Orlikowski            v.j.orlikowski@gte.net
                                vjo@raleigh.ibm.com
                                vjo@us.ibm.com


Mime
View raw message