projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
copy-acl: ignore ENOTSUP on HP-UX
[gnulib.git]
/
lib
/
tsearch.c
diff --git
a/lib/tsearch.c
b/lib/tsearch.c
index
44b0d32
..
8eb92c5
100644
(file)
--- a/
lib/tsearch.c
+++ b/
lib/tsearch.c
@@
-1,4
+1,5
@@
-/* Copyright (C) 1995-1997, 2000, 2006-2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1997, 2000, 2006-2007, 2009-2010 Free Software
+ Foundation, Inc.
Contributed by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>, 1997.
NOTE: The canonical source of this file is maintained with the GNU C
Contributed by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>, 1997.
NOTE: The canonical source of this file is maintained with the GNU C
@@
-161,7
+162,7
@@
check_tree (node root)
if (root == NULL)
return;
root->red = 0;
if (root == NULL)
return;
root->red = 0;
- for(p = root->left; p; p = p->left)
+ for
(p = root->left; p; p = p->left)
cnt += !p->red;
check_tree_recurse (root, 0, cnt);
}
cnt += !p->red;
check_tree_recurse (root, 0, cnt);
}