Commit Graph

6 Commits

Author SHA1 Message Date
Ralf Corsepius
807337d281 Adjust to POSIX. Minor updates from FreeBSD. 2007-10-15 07:59:00 +00:00
Ralf Corsepius
cd9564e1cd Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>. 2007-05-10 07:29:14 +00:00
Ralf Corsepius
70e624e366 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
	with SUSv3.
2007-05-08 16:39:57 +00:00
Joel Sherrill
068c3ee1df 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-11-02 21:48:41 +00:00
Ralf Corsepius
4d96472b06 Update from FreeBSD. 2005-05-21 13:37:17 +00:00
Joel Sherrill
39e6e65a2c Base files 1998-08-19 21:32:28 +00:00