mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-11 23:03:17 -05:00
the pattern `for (x = ISC_LIST_HEAD(...); x != NULL; ISC_LIST_NEXT(...)` has been changed to `ISC_LIST_FOREACH` throughout BIND, except in a few cases where the change would be excessively complex. in most cases this was a straightforward change. in some places, however, the list element variable was referenced after the loop ended, and the code was refactored to avoid this necessity. also, because `ISC_LIST_FOREACH` uses typeof(list.head) to declare the list elements, compilation failures can occur if the list object has a `const` qualifier. some `const` qualifiers have been removed from function parameters to avoid this problem, and where that was not possible, `UNCONST` was used. |
||
|---|---|---|
| .. | ||
| copyrights | ||
| dev.md | ||
| HOW-ADB-WORKS.txt | ||
| libuv.md | ||
| loopmgr.md | ||
| rdata.md | ||
| results | ||
| style.md | ||
| unexpected | ||