summaryrefslogtreecommitdiffstats
path: root/cpukit/ChangeLog
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-11-02 21:48:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-11-02 21:48:41 +0000
commit068c3ee1df9be23ee252428b87cfcf2c43cda3cf (patch)
treea874ea91a3d48ab47e2957c97c1e7ea1dbe6f3fe /cpukit/ChangeLog
parent2006-11-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-068c3ee1df9be23ee252428b87cfcf2c43cda3cf.tar.bz2
2006-11-02 Steven Johnson <sjohnson@sakuraindustries.com>
* libnetworking/netdb.h, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c: This patch adds a functional gethostbyname_r to RTEMS. We were having problems with multiple threads calling gethostbyname, so we decided the best way to deal with it was to do it properly, rather than kludge up our code to make gethostbyname safe. We have found several slightly different parameter lists for this function, it does not seem to be standard. The one we used has the linux interface. In RTEMS there was an existing gethostbyname_r inside a #ifdef _THREAD_SAFE which was NOT Threadsafe, as this just called gethostbyname. So we have placed all of the additional code inside the #ifdef _THREAD_SAFE.
Diffstat (limited to 'cpukit/ChangeLog')
-rw-r--r--cpukit/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 2bd8ef4355..701540af6b 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,17 @@
+2006-11-02 Steven Johnson <sjohnson@sakuraindustries.com>
+
+ * libnetworking/netdb.h, libnetworking/libc/gethostbyht.c,
+ libnetworking/libc/gethostnamadr.c: This patch adds a functional
+ gethostbyname_r to RTEMS. We were having problems with multiple
+ threads calling gethostbyname, so we decided the best way to deal
+ with it was to do it properly, rather than kludge up our code to make
+ gethostbyname safe. We have found several slightly different
+ parameter lists for this function, it does not seem to be standard.
+ The one we used has the linux interface. In RTEMS there was an
+ existing gethostbyname_r inside a #ifdef _THREAD_SAFE which was NOT
+ Threadsafe, as this just called gethostbyname. So we have placed all
+ of the additional code inside the #ifdef _THREAD_SAFE.
+
2006-10-30 Joel Sherrill <joel@OARcorp.com>
PR 841/rtems