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] xlC compiling clean-ups....
Date Mon, 11 Sep 2000 17:45:14 GMT
iov_len on AIX is signed, and other such little boo-boos preventing AIX
from building.

Index: src/ap/ap_buckets.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/ap/ap_buckets.c,v
retrieving revision 1.15
diff -u -r1.15 ap_buckets.c
--- ap_buckets.c	2000/09/09 06:48:07	1.15
+++ ap_buckets.c	2000/09/11 17:41:00
@@ -130,7 +130,7 @@
     AP_BRIGADE_FOREACH(e, b) {
 	if (nvec-- == 0)
             break;
-	e->read(e, (const char **)&vec->iov_base, &vec->iov_len, 0);
+	e->read(e, (const char **)&vec->iov_base, (apr_ssize_t*)&vec->iov_len,
0);
 	++vec;
     }
     return vec - orig;
Index: src/main/http_core.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/main/http_core.c,v
retrieving revision 1.117
diff -u -r1.117 http_core.c
--- http_core.c	2000/09/10 05:00:03	1.117
+++ http_core.c	2000/09/11 17:41:10
@@ -3038,9 +3038,8 @@
     request_rec *r = f->r;
 #endif
     apr_status_t rv;
-    apr_ssize_t bytes_sent = 0;
+    apr_ssize_t bytes_sent = 0, len = 0, written;
     ap_bucket *e;
-    int len = 0, written;
     const char *str;
     
 #if 0 /* XXX: bit rot! */
Index: src/modules/standard/mod_cgid.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/standard/mod_cgid.c,v
retrieving revision 1.38
diff -u -r1.38 mod_cgid.c
--- mod_cgid.c	2000/09/11 00:30:02	1.38
+++ mod_cgid.c	2000/09/11 17:41:18
@@ -841,7 +842,7 @@
     char **env; 
     struct sockaddr_un unix_addr;
     apr_file_t *tempsock = NULL;
-    int nbytes;
+    apr_ssize_t nbytes;
 
     if (r->method_number == M_OPTIONS) { 
         /* 99 out of 100 cgid scripts, this is all they support */ 

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

Mime
View raw message