Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2006-04-24 15:53:16 +0400
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2006-04-24 15:53:16 +0400
commit27154d380ac190b21c470941a8891b77821ea8ea (patch)
tree71fd710b5e391ddb202fbb1e20cf860d1cc9571c /winsup
parentcfa882572aa35a223df6a3356120f6e3e104292d (diff)
* 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...
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog7
-rw-r--r--winsup/w32api/include/ws2tcpip.h2
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index abfc8a379..c8c821f23 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -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.
diff --git a/winsup/w32api/include/ws2tcpip.h b/winsup/w32api/include/ws2tcpip.h
index 3b68b3df1..6ae0ea50d 100644
--- a/winsup/w32api/include/ws2tcpip.h
+++ b/winsup/w32api/include/ws2tcpip.h
@@ -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)
{