From cvs-return-1814-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Thu Aug 02 03:19:00 2001 Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 86125 invoked by uid 500); 2 Aug 2001 03:18:59 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 86112 invoked from network); 2 Aug 2001 03:18:58 -0000 Date: 2 Aug 2001 03:18:44 -0000 Message-ID: <20010802031844.83662.qmail@icarus.apache.org> From: wrowe@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/tables apr_hash.c apr_tables.c X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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(); }