kern/91996: [headers] SLIST_FOREACH_PREVPTR() macro is wrong
Andrey A. Chernov
ache at FreeBSD.org
Thu Feb 2 23:01:26 PST 2006
Synopsis: [headers] SLIST_FOREACH_PREVPTR() macro is wrong
State-Changed-From-To: open->closed
State-Changed-By: ache
State-Changed-When: Fri Feb 3 06:56:54 UTC 2006
State-Changed-Why:
You misunderstand what SLIST_FOREACH_PREVPTR() macro does.
It is not for returning pointer to previous element, but for returning pointers
to head->first or prev->next fields (to remove current element from the list)
http://www.freebsd.org/cgi/query-pr.cgi?pr=91996
More information about the freebsd-bugs
mailing list