You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2001/08/02 05:18:44 UTC

cvs commit: apr/tables apr_hash.c apr_tables.c

wrowe       01/08/01 20:18:44

  Modified:    tables   apr_hash.c apr_tables.c
  Log:
    Now I _know_ how long it's been since someone actually was _really_
    testing these goodies ;)
  
  Revision  Changes    Path
  1.24      +2 -2      apr/tables/apr_hash.c
  
  Index: apr_hash.c
  ===================================================================
  RCS file: /home/cvs/apr/tables/apr_hash.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- apr_hash.c	2001/08/02 00:11:17	1.23
  +++ apr_hash.c	2001/08/02 03:18:44	1.24
  @@ -344,12 +344,12 @@
        * overlay->a.pool and base->a.pool have a life span at least
        * as long as p
        */
  -    if (!apr_pool_is_ancestor(overlay->a.pool, p)) {
  +    if (!apr_pool_is_ancestor(overlay->pool, p)) {
           fprintf(stderr, 
                   "apr_hash_overlay: overlay's pool is not an ancestor of p\n");
           abort();
       }
  -    if (!apr_pool_is_ancestor(base->a.pool, p)) {
  +    if (!apr_pool_is_ancestor(base->pool, p)) {
           fprintf(stderr, 
                   "apr_hash_overlay: base's pool is not an ancestor of p\n");
           abort();
  
  
  
  1.17      +1 -1      apr/tables/apr_tables.c
  
  Index: apr_tables.c
  ===================================================================
  RCS file: /home/cvs/apr/tables/apr_tables.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- apr_tables.c	2001/07/19 11:58:33	1.16
  +++ apr_tables.c	2001/08/02 03:18:44	1.17
  @@ -313,7 +313,7 @@
       /* we don't copy keys and values, so it's necessary that t->a.pool
        * have a life span at least as long as p
        */
  -    if (!apr_pool_is_ancestor(t->a.cont, p)) {
  +    if (!apr_pool_is_ancestor(t->a.pool, p)) {
   	fprintf(stderr, "copy_table: t's pool is not an ancestor of p\n");
   	abort();
       }