aboutsummaryrefslogtreecommitdiff
path: root/assert
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2022-03-17 11:44:34 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2022-03-22 19:38:36 +0530
commit1c37b8022e8763fedbb3f79c02e05c6acfe5a215 (patch)
tree6eb6224a8354c5ff5e2550a0151d181e06ba2267 /assert
parent9df157b4ed52108495de9f8bc77ef922034e3b66 (diff)
downloadglibc-1c37b8022e8763fedbb3f79c02e05c6acfe5a215.tar
glibc-1c37b8022e8763fedbb3f79c02e05c6acfe5a215.tar.gz
glibc-1c37b8022e8763fedbb3f79c02e05c6acfe5a215.tar.bz2
glibc-1c37b8022e8763fedbb3f79c02e05c6acfe5a215.zip
Simplify allocations and fix merge and continue actions [BZ #28931]
Allocations for address tuples is currently a bit confusing because of the pointer chasing through PAT, making it hard to observe the sequence in which allocations have been made. Narrow scope of the pointer chasing through PAT so that it is only used where necessary. This also tightens actions behaviour with the hosts database in getaddrinfo to comply with the manual text. The "continue" action discards previous results and the "merge" action results in an immedate lookup failure. Consequently, chaining of allocations across modules is no longer necessary, thus opening up cleanup opportunities. A test has been added that checks some combinations to ensure that they work correctly. Resolves: BZ #28931 Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'assert')
0 files changed, 0 insertions, 0 deletions