summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-02 13:25:55 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-02 13:25:55 +0530
commite1e041c439b5bccc756b64fbaf97e2d3f11a9b0d (patch)
tree2d86787b66e7f5e37854b877cabc31687acdecaa
parentd34570a6b8167849a7f5dbfc67cdaf323d3263dd (diff)
downloadglibc-e1e041c439b5bccc756b64fbaf97e2d3f11a9b0d.tar.gz
glibc-e1e041c439b5bccc756b64fbaf97e2d3f11a9b0d.tar.xz
glibc-e1e041c439b5bccc756b64fbaf97e2d3f11a9b0d.zip
Add comment to gethnamaddr.c to warn that the file is unmaintained
-rw-r--r--ChangeLog5
-rw-r--r--resolv/gethnamaddr.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 45bac5802a..7401bf20f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* resolv/gethnamaddr.c: Add comment warning that the file is
+	not maintained.
+
 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
 
 	* sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
diff --git a/resolv/gethnamaddr.c b/resolv/gethnamaddr.c
index c73a0dcf2c..49cdc724e1 100644
--- a/resolv/gethnamaddr.c
+++ b/resolv/gethnamaddr.c
@@ -49,6 +49,11 @@
  * --Copyright--
  */
 
+/* XXX This file is not used by any of the resolver functions implemented by
+   glibc (i.e. get*info and gethostby*).  It cannot be removed however because
+   it exports symbols in the libresolv ABI.  The file is not maintained any
+   more, nor are these functions.  */
+
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)gethostnamadr.c	8.1 (Berkeley) 6/4/93";
 #endif /* LIBC_SCCS and not lint */