apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@rkbloom.net
Subject Re: cvs commit: apr/test testhash.c
Date Sun, 18 Apr 2004 17:48:01 GMT

I fixed this.  I thought I had re-compiled after my changes, but I must have
just been in the test directory when I did it.

Ryan

Quoting André Malo <nd@perlig.de>:

> * rbb@apache.org 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>
> 




Mime
View raw message