apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/tables apr_hash.c
Date Mon, 19 Apr 2004 08:54:48 GMT
jorton      2004/04/19 01:54:48

  Modified:    tables   apr_hash.c
  Log:
  * tables/apr_hash.c (apr_hash_merge): Copy the hash_func.
  
  Revision  Changes    Path
  1.39      +3 -2      apr/tables/apr_hash.c
  
  Index: apr_hash.c
  ===================================================================
  RCS file: /home/cvs/apr/tables/apr_hash.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -w -d -u -r1.38 -r1.39
  --- apr_hash.c	18 Apr 2004 17:07:43 -0000	1.38
  +++ apr_hash.c	19 Apr 2004 08:54:48 -0000	1.39
  @@ -395,6 +395,7 @@
   
       res = apr_palloc(p, sizeof(apr_hash_t));
       res->pool = p;
  +    res->hash_func = base->hash_func;
       res->count = base->count;
       res->max = (overlay->max > base->max) ? overlay->max : base->max;
       if (base->count + overlay->count > res->max) {
  
  
  

Mime
View raw message