httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GUMMALAM,MOHAN (HP-Cupertino,ex2)" <mohan_gumma...@hp.com>
Subject RE: [PATCH]: 64-bit porting issue in apr_sdbm.h
Date Wed, 29 May 2002 16:11:17 GMT
Please review and commit the following patch.
Thanks,
Mohan

-----Original Message-----
From: GUMMALAM,MOHAN (HP-Cupertino,ex2) [mailto:mohan_gummalam@hp.com]
Sent: Friday, April 05, 2002 3:26 PM
To: 'dev@httpd.apache.org'
Subject: [PATCH]: 64-bit porting issue in apr_sdbm.h


There is a 64-bit issue with the apr_dbm.h sources -- this results in a
WeDAV failure on a 64-bit OS.  The problem is in the CONVERT_DATUM macro,
which
coverts a apr_datum_t* to apr_sdbm_datum_t*, through casting.  I am sending
a patch for fixing the apr_sdbm_datum_t structure.  Can somebody evaluate
this and commit it?

Thanks,
Mohan


Index: apr_sdbm.h
===================================================================
RCS file: /home/cvspublic/apr-util/include/apr_sdbm.h,v
retrieving revision 1.10
diff -u -r1.10 apr_sdbm.h
--- apr_sdbm.h  13 Mar 2002 20:40:48 -0000      1.10
+++ apr_sdbm.h  5 Apr 2002 23:10:28 -0000
@@ -88,7 +88,7 @@
     /** pointer to the data stored/retrieved */
     char *dptr;
     /** size of data */
-    int dsize;
+    apr_size_t dsize;
 } apr_sdbm_datum_t;
 
 /* The extensions used for the database files */

Mime
View raw message