profile_clear_relation doesn't work, iterator still sees deleted nodes
authorKen Raeburn <raeburn@mit.edu>
Fri, 4 Mar 2005 00:05:08 +0000 (00:05 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 4 Mar 2005 00:05:08 +0000 (00:05 +0000)
commita316a66d3e73df3cc89089ad01fc8673af6cc31e
tree7d5a7f89ac245872f40141634e4de6daf5ccdf29
parent3e65c52eb55e0568749c698a312619a3001ceeab
profile_clear_relation doesn't work, iterator still sees deleted nodes

The "deleted" flag was being checked when writing out the file, but
not when iterating through using the profile handle being used to do
the deletions.

* prof_tree.c (profile_node_iterator): After checking skip_num counter, also
skip over deleted nodes.
* prof_test1 (test3): New proc.
(top level): Run it.

ticket: new
target_version: 1.4.1

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17111 dc483132-0cff-0310-8789-dd5450dbe970
src/util/profile/ChangeLog
src/util/profile/prof_test1
src/util/profile/prof_tree.c