Module Name: src Committed By: riz Date: Mon Jul 16 22:10:47 UTC 2012
Modified Files: src/common/lib/libc/gen [netbsd-6]: ptree.c src/sys/sys [netbsd-6]: ptree.h Log Message: Pull up following revision(s) (requested by rmind in ticket #420): common/lib/libc/gen/ptree.c: revision 1.7 common/lib/libc/gen/ptree.c: revision 1.8 common/lib/libc/gen/ptree.c: revision 1.9 sys/sys/ptree.h: revision 1.7 Don't bother testing 0 length keys since they can only have one possible value. Add code to protect the ptree from multiple insertions of the same node. ptree_find_filtered_node: make key argument const. To generate a diff of this commit: cvs rdiff -u -r1.5.8.1 -r1.5.8.2 src/common/lib/libc/gen/ptree.c cvs rdiff -u -r1.4.8.1 -r1.4.8.2 src/sys/sys/ptree.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.