There is a 64-bit issue with the apr_dbm.h sources -- this results in a
WeDAV failure on 64-bit HP-UX. We ran into the problem while trying to
support it on IA64. 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 */