aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-28 19:32:08 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-28 19:32:08 +0000
commit2588068bdf891c057443ecfee136fb1bcfc3bf38 (patch)
treec0d959c911425491d2410c4b249c9aa19552bf50
parentd1a8bf85148f0ec2d979fabc671e3f37ec59f011 (diff)
downloadglibc-2588068bdf891c057443ecfee136fb1bcfc3bf38.zip
glibc-2588068bdf891c057443ecfee136fb1bcfc3bf38.tar.gz
glibc-2588068bdf891c057443ecfee136fb1bcfc3bf38.tar.bz2
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com> * resolv/inet_pton.c: Loose __P.
-rw-r--r--ChangeLog4
-rw-r--r--NEWS9
-rw-r--r--resolv/inet_pton.c4
3 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 85df437..e161921 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-28 Ulrich Drepper <drepper@redhat.com>
+
+ * resolv/inet_pton.c: Loose __P.
+
2000-05-21 Jakub Jelinek <jakub@redhat.com>
* libio/libioP.h (_IO_CHECK_WIDE): Define.
diff --git a/NEWS b/NEWS
index 68f896e..79440c6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes. 2000-01-02
+GNU C Library NEWS -- history of user-visible changes. 2000-05-28
Copyright (C) 1992-1999, 2000 Free Software Foundation, Inc.
See the end for copying conditions.
@@ -23,8 +23,11 @@ Version 2.2
* ldconfig program added by Andreas Jaeger and Jakub Jelinek.
* The resolver code has been updated from bind 8.2.2-5 which supports
- threads. No changes should be necessary for user programs. The
- integration was done by Andreas Jaeger and Adam D. Bradley.
+ threads. The integration was done by Andreas Jaeger and Adam D. Bradley.
+
+ This change could in some situations effect backward compatibility. Since
+ now `_res' is a thread-local instead of a global variable, modifying it
+ in one thread does not have any effect in other threads.
* Compatibility code for K&R C compilers has been removed from the
header files. A ISO C compiler is needed to use the library
diff --git a/resolv/inet_pton.c b/resolv/inet_pton.c
index e1419b9..4dcbad9 100644
--- a/resolv/inet_pton.c
+++ b/resolv/inet_pton.c
@@ -34,8 +34,8 @@ static char rcsid[] = "$Id$";
* sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX.
*/
-static int inet_pton4 __P((const char *src, u_char *dst)) internal_function;
-static int inet_pton6 __P((const char *src, u_char *dst)) internal_function;
+static int inet_pton4 (const char *src, u_char *dst) internal_function;
+static int inet_pton6 (const char *src, u_char *dst) internal_function;
/* int
* inet_pton(af, src, dst)