about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-30 18:43:04 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-30 18:43:04 +0100
commite7eceec0bc34b520a66c688dc81a0b0d4e36610f (patch)
tree2eecf466aa90126759ddc1492c30266acb9c3e02 /ChangeLog
parent769998892d4f39d912fbe147eca9a3e89318cffc (diff)
downloadglibc-e7eceec0bc34b520a66c688dc81a0b0d4e36610f.tar.gz
glibc-e7eceec0bc34b520a66c688dc81a0b0d4e36610f.tar.xz
glibc-e7eceec0bc34b520a66c688dc81a0b0d4e36610f.zip
resolv: Turn historic name lookup functions into compat symbols
This change also removes the preprocessor-based function renaming.
It also applied to tests in resolv/, which ended up running against
the historic functions.

_endhtent was not part of the ABI because it is not listed in the
resolv/Versions file.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index abb3696b44..233997cbe4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2016-12-30  Florian Weimer  <fweimer@redhat.com>
+
+	* resolv/Makefile (libresolv-routines): Rename gethnamaddr to
+	compat-gethnamaddr.
+	(CPPFLAGS): Remove.
+	* resolv/gethnamaddr.c: Rename ...
+	* resolv/compat-gethnamaddr.c: ... to this file.
+	(_endhtent): Make static.
+	(res_gethostbyname): Renamed from gethostbyname.  Turn into compat
+	symbol.
+	(res_gethostbyname2): Renamed from gethostbyname2.  Turn into
+	compat symbol.
+	(res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
+	symbol.
+	(_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
+	Turn into compat symbol.
+	* include/resolv.h (_endhtent): Remove declaration.
+
 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
 
 	* bits/types.h (__intmax_t): New typedef.