From b190ee6140c30ef0ea263d839e4b5be264bd0a1b Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Tue, 26 Apr 2005 18:04:09 +0000 Subject: [PATCH] our get{proto,serv}by*() use a thread-specific data space. --- lib/libc/net/getprotoent.3 | 2 +- lib/libc/net/getservent.3 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3 index b30b95b160f..e15ad016a92 100644 --- a/lib/libc/net/getprotoent.3 +++ b/lib/libc/net/getprotoent.3 @@ -143,7 +143,7 @@ and functions appeared in .Bx 4.2 . .Sh BUGS -These functions use a static data space; +These functions use a thread-specific data space; if the data is needed for future use, it should be copied before any subsequent calls overwrite it. Only the Internet diff --git a/lib/libc/net/getservent.3 b/lib/libc/net/getservent.3 index 26399b5cf20..8c43c8f510f 100644 --- a/lib/libc/net/getservent.3 +++ b/lib/libc/net/getservent.3 @@ -152,7 +152,7 @@ and functions appeared in .Bx 4.2 . .Sh BUGS -These functions use static data storage; +These functions use a thread-specific data storage; if the data is needed for future use, it should be copied before any subsequent calls overwrite it. Expecting port numbers to fit in a 32 bit