* [EMAIL PROTECTED] wrote: > +APR_DECLARE(apr_hash_t *) apr_hash_make_custom(apr_pool_t *pool, > + apr_hashfunc_t hash_func) > +{ > + ht = apr_hash_make(p); > + ht->hash_func = hash_func; > return ht; > } >
I've thought there were a rule to check in only stuff that compiles... Index: apr_hash.c =================================================================== RCS file: /home/cvspublic/apr/tables/apr_hash.c,v retrieving revision 1.37 diff -u -r1.37 apr_hash.c --- apr_hash.c 18 Apr 2004 12:12:49 -0000 1.37 +++ apr_hash.c 18 Apr 2004 16:57:17 -0000 @@ -102,7 +102,7 @@ APR_DECLARE(apr_hash_t *) apr_hash_make_custom(apr_pool_t *pool, apr_hashfunc_t hash_func) { - ht = apr_hash_make(p); + apr_hash_t *ht = apr_hash_make(pool); ht->hash_func = hash_func; return ht; } nd -- "Solides und umfangreiches Buch" -- aus einer Rezension <http://pub.perlig.de/books.html#apache2>