diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-09-01 08:57:07 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-09-01 08:57:07 +0200 |
commit | 53250a21b81474ef4e78090a4a9a63d8471e1091 (patch) | |
tree | 180a9ed44fd6ced72c7f47947a4fb4ff2d2f9507 /ChangeLog | |
parent | 924b121c5978689001ae28cf1c8497371dad4f71 (diff) | |
download | glibc-53250a21b81474ef4e78090a4a9a63d8471e1091.tar glibc-53250a21b81474ef4e78090a4a9a63d8471e1091.tar.gz glibc-53250a21b81474ef4e78090a4a9a63d8471e1091.tar.bz2 glibc-53250a21b81474ef4e78090a4a9a63d8471e1091.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2017-09-01 Florian Weimer <fweimer@redhat.com> + * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly. + (getcanonname): Likewise. + (gaih_inet): Likewise. + +2017-09-01 Florian Weimer <fweimer@redhat.com> + * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly. (getcanonname): Likewise. (gaih_inet): Likewise. |