pike.git / src / rbtree.c

version» Context lines:

pike.git/src/rbtree.c:1781: Inside #if defined (PIKE_DEBUG) || defined (TEST_MULTISET)
      if (pos && ptr_node == (void *) (ptrdiff_t) -1)    fputs ("(pos outside stack)", stderr);    fputc ('\n', stderr);   }      static void debug_rb_fatal (struct rb_node_hdr *tree, const char *fmt, ...)   {    va_list args;    va_start (args, fmt); -  (void) VFPRINTF (stderr, fmt, args); +  (void) vfprintf (stderr, fmt, args);    fputs ("Dumping tree:\n", stderr);    debug_dump_rb_tree (tree, NULL, NULL);    debug_fatal ("\r");   }      static void debug_custom_rb_fatal (struct rb_node_hdr *tree, dump_data_fn *dump_data,    void *extra, const char *fmt, ...)   {    va_list args;    va_start (args, fmt); -  (void) VFPRINTF (stderr, fmt, args); +  (void) vfprintf (stderr, fmt, args);    fputs ("Dumping tree:\n", stderr);    debug_dump_rb_tree (tree, dump_data, extra);    debug_fatal ("\r");   }      void debug_check_rb_tree (struct rb_node_hdr *root, dump_data_fn *dump_data, void *extra)   {    if (root) {    struct rb_node_hdr *node = root, *n, *n2;    struct rbstack_ptr p;