summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getnameinfo.3
diff options
context:
space:
mode:
authoritojun <>2004-12-21 01:01:47 +0000
committeritojun <>2004-12-21 01:01:47 +0000
commit3b14bd049e961cdc29a063c8bd9fedbc33060d1f (patch)
treec8d4372593973aa7ba00bffba3331696d17a3d70 /src/lib/libc/net/getnameinfo.3
parent2fcee8ace90322a59d0077d3f8f89799fff2e16d (diff)
downloadopenbsd-3b14bd049e961cdc29a063c8bd9fedbc33060d1f.tar.gz
openbsd-3b14bd049e961cdc29a063c8bd9fedbc33060d1f.tar.bz2
openbsd-3b14bd049e961cdc29a063c8bd9fedbc33060d1f.zip
thread-unsafeness comes from the use of _res, YP filehandle, and /etc/hosts
filehandle, not dynamic memory allocation.
Diffstat (limited to '')
-rw-r--r--src/lib/libc/net/getnameinfo.34
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3
index 050ec5a442..ccb46faece 100644
--- a/src/lib/libc/net/getnameinfo.3
+++ b/src/lib/libc/net/getnameinfo.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getnameinfo.3,v 1.33 2004/12/20 22:33:09 millert Exp $ 1.\" $OpenBSD: getnameinfo.3,v 1.34 2004/12/21 01:01:47 itojun Exp $
2.\" 2.\"
3.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") 3.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
4.\" Copyright (C) 2000, 2001 Internet Software Consortium. 4.\" Copyright (C) 2000, 2001 Internet Software Consortium.
@@ -252,7 +252,7 @@ if (error == 0) {
252} 252}
253.Ed 253.Ed
254.Sh BUGS 254.Sh BUGS
255Due to the use of dynamic allocation, 255The implementation of
256.Fn getaddrinfo 256.Fn getaddrinfo
257is not thread-safe. 257is not thread-safe.
258.Pp 258.Pp