]> git.ipfire.org Git - thirdparty/glibc.git/commit
getaddrinfo: Use &h_errno has the h_errno pointer
authorFlorian Weimer <fweimer@redhat.com>
Fri, 1 Sep 2017 06:57:07 +0000 (08:57 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 1 Sep 2017 06:57:07 +0000 (08:57 +0200)
commit53250a21b81474ef4e78090a4a9a63d8471e1091
tree180a9ed44fd6ced72c7f47947a4fb4ff2d2f9507
parent924b121c5978689001ae28cf1c8497371dad4f71
getaddrinfo: Use &h_errno has the h_errno pointer

This simplifies the code because it is not necessary to propagate the
temporary h_errno value to the thread-local variable.  It also increases
compatibility with NSS modules which update only one of the two places.
ChangeLog
sysdeps/posix/getaddrinfo.c