Module Name: src Committed By: martin Date: Mon Oct 2 13:21:41 UTC 2017
Modified Files: src/distrib/sets/lists/debug [netbsd-8]: mi src/distrib/sets/lists/tests [netbsd-8]: mi src/share/man/man3 [netbsd-8]: queue.3 src/sys/sys [netbsd-8]: queue.h src/tests/include/sys [netbsd-8]: Makefile Added Files: src/tests/include/sys [netbsd-8]: t_list.c Log Message: Pull up following revision(s) (requested by pgoyette in ticket #296): tests/include/sys/t_list.c: revision 1.1 tests/include/sys/t_list.c: revision 1.2 tests/include/sys/Makefile: revision 1.13 share/man/man3/queue.3: revision 1.59 distrib/sets/lists/debug/mi: revision 1.226 sys/sys/queue.h: revision 1.71 distrib/sets/lists/tests/mi: revision 1.764 Fix the LIST_MOVE macro to properly update the back-pointer of the first entry in the list. Note that the signature of LIST_MOVE() macro also changes (it grew an additional argument). This should not require a kernel version bump since nothing appears to use LIST_MOVE() other than the recently added atf test. Update for new signature for LIST_MOVE() Add a new minimalistic test for LIST_MOVE to verify that the list's first entry's prev pointer correctly points to the listhead. This test will fail until a fix for LIST_MOVE is checked in (soon). Add new LIST_MOVE test to sets list. Update recently-added test to adapt to new signature of LIST_MOVE() add t_list test. To generate a diff of this commit: cvs rdiff -u -r1.216.2.3 -r1.216.2.4 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.752.2.2 -r1.752.2.3 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.56 -r1.56.4.1 src/share/man/man3/queue.3 cvs rdiff -u -r1.70 -r1.70.10.1 src/sys/sys/queue.h cvs rdiff -u -r1.12 -r1.12.6.1 src/tests/include/sys/Makefile cvs rdiff -u -r0 -r1.2.2.2 src/tests/include/sys/t_list.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.