]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/ws2tcpip.h (gai_strerror): Remove thread-safety comment.
authorDimitri Papadopoulos <dimitri_at@users.sf.net>
Mon, 24 Apr 2006 11:53:16 +0000 (11:53 +0000)
committerDimitri Papadopoulos <dimitri_at@users.sf.net>
Mon, 24 Apr 2006 11:53:16 +0000 (11:53 +0000)
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...

winsup/w32api/ChangeLog
winsup/w32api/include/ws2tcpip.h

index abfc8a379f6a1b473013196bc1a4b28a8f4cc84a..c8c821f23df4aff71c874a1ca75f83e1601b1c41 100644 (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.
index 3b68b3df192eaf4db0de87584c4ca63728c17c32..6ae0ea50dc260452404ce6bd81a286bbeda11b9b 100644 (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)
 {
This page took 0.034496 seconds and 5 git commands to generate.