* include/ws2tcpip.h (gai_strerror): Remove thread-safety comment.

This function cannot be made thread-safe, the API would have to be
	changed for that, just like strerror() -> strerror_r() and similar
	ISO C or POSIX functions...
This commit is contained in:
Dimitri Papadopoulos 2006-04-24 11:53:16 +00:00
parent cfa882572a
commit 27154d380a
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2006-04-24 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/ws2tcpip.h (gai_strerror): Remove thread-safety comment.
This function cannot be made thread-safe, the API would have to be
changed for that, just like strerror() -> strerror_r() and similar
ISO C or POSIX functions...
2006-04-19 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/edevdefs.h: New file.

View file

@ -304,8 +304,6 @@ int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
/* FIXME: Need WS protocol-independent API helpers. */
#endif
/* One might well ask if gai_strerror has been ripped from MS Platform SDK
headers. It is obviously not thread-safe. */
static __inline char*
gai_strerrorA(int ecode)
{