pike.git / src / rbtree.c

version» Context lines:

pike.git/src/rbtree.c:821:    /* Node has two subtrees, so we can't delete it. Find another one    * to replace its data with. */    next = parent = node;    RBSTACK_PUSH (rbstack, node);    for (unlink = node->next; !(unlink->flags & RB_THREAD_PREV); unlink = unlink->prev) {    parent = unlink;    RBSTACK_PUSH (rbstack, unlink);    }       keep_flags (node, -  MEMCPY ((char *) node + OFFSETOF (rb_node_hdr, flags), +  memcpy ((char *) node + OFFSETOF (rb_node_hdr, flags),    (char *) unlink + OFFSETOF (rb_node_hdr, flags),    node_size - OFFSETOF (rb_node_hdr, flags)));       if (parent == node) {    node = unlink->next;    if (unlink->flags & RB_THREAD_NEXT)    parent->flags |= RB_THREAD_NEXT;    else {   #ifdef PIKE_DEBUG    if (!(node->flags & RB_THREAD_PREV))