aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2022-02-10 13:27:11 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2022-03-22 19:39:16 +0530
commit8d6cf99f2fb81a097f9334c125e5c23604af1a98 (patch)
tree6ab268de3e615339bea7ee2efd3517520972d689 /scripts
parent300460460706ce3ffe29a7df8966e68323ec5bf1 (diff)
downloadglibc-8d6cf99f2fb81a097f9334c125e5c23604af1a98.zip
glibc-8d6cf99f2fb81a097f9334c125e5c23604af1a98.tar.gz
glibc-8d6cf99f2fb81a097f9334c125e5c23604af1a98.tar.bz2
gaih_inet: Simplify service resolution
Refactor the code to split out the service resolution code into a separate function. Allocate the service tuples array just once to the size of the typeproto array, thus avoiding the unnecessary pointer chasing and stack allocations. Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions