summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-12-21 01:01:48 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-12-21 01:01:48 +0000
commitc3eaabde2d2d2ec6f7d9e85e6123963a2e0d5162 (patch)
tree066b45fa0c8acd196642bc05aa4be0e5ec0f093c
parent43e5fce3b59effd05076bc3fc4b1c0f554a2eeaf (diff)
thread-unsafeness comes from the use of _res, YP filehandle, and /etc/hosts
filehandle, not dynamic memory allocation.
-rw-r--r--lib/libc/net/getaddrinfo.34
-rw-r--r--lib/libc/net/getnameinfo.34
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index e7ddfba5fda..cc5eaa4182c 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getaddrinfo.3,v 1.33 2004/12/20 21:35:10 millert Exp $
+.\" $OpenBSD: getaddrinfo.3,v 1.34 2004/12/21 01:01:47 itojun Exp $
.\"
.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000, 2001 Internet Software Consortium.
@@ -432,6 +432,6 @@ draft specification and documented in
.Dv "RFC 3493" ,
.Dq Basic Socket Interface Extensions for IPv6 .
.Sh BUGS
-Due to the use of dynamic allocation,
+The implementation of
.Fn getaddrinfo
is not thread-safe.
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 050ec5a4422..ccb46faecea 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getnameinfo.3,v 1.33 2004/12/20 22:33:09 millert Exp $
+.\" $OpenBSD: getnameinfo.3,v 1.34 2004/12/21 01:01:47 itojun Exp $
.\"
.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000, 2001 Internet Software Consortium.
@@ -252,7 +252,7 @@ if (error == 0) {
}
.Ed
.Sh BUGS
-Due to the use of dynamic allocation,
+The implementation of
.Fn getaddrinfo
is not thread-safe.
.Pp