dgaudet 98/01/27 02:04:37
Modified: src/main alloc.c
Log:
I didn't implement a fully general pool_join... so I should test that
the inputs really are what I expect.
Revision Changes Path
1.72 +3 -2 apache-1.3/src/main/alloc.c
Index: alloc.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/alloc.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- alloc.c 1998/01/27 10:00:38 1.71
+++ alloc.c 1998/01/27 10:04:35 1.72
@@ -599,8 +599,9 @@
{
union block_hdr *b;
- if (!pool_is_ancestor(p, sub)) {
- fprintf(stderr, "pool_join: p is not an ancestor of sub\n");
+ /* We could handle more general cases... but this is it for now. */
+ if (sub->parent != p) {
+ fprintf(stderr, "pool_join: p is not parent of sub\n");
abort();
}
block_alarms();