about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-09-01 08:57:07 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-09-01 08:57:07 +0200
commit53250a21b81474ef4e78090a4a9a63d8471e1091 (patch)
tree180a9ed44fd6ced72c7f47947a4fb4ff2d2f9507 /ChangeLog
parent924b121c5978689001ae28cf1c8497371dad4f71 (diff)
downloadglibc-53250a21b81474ef4e78090a4a9a63d8471e1091.tar.gz
glibc-53250a21b81474ef4e78090a4a9a63d8471e1091.tar.xz
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--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 28076c6379..4d8c6f6744 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.