bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnulib.texi (Getaddrinfo and WINVER): Sync documentation with co


From: Simon Josefsson
Subject: [PATCH] gnulib.texi (Getaddrinfo and WINVER): Sync documentation with code.
Date: Wed, 15 Oct 2008 14:21:23 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Pushed.

---
 ChangeLog       |    5 +++++
 doc/gnulib.texi |   15 +++++----------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8d97d64..64b95e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-15  Simon Josefsson  <address@hidden>
+
+       * doc/gnulib.texi (Getaddrinfo and WINVER): Sync documentation
+       with code.
+
 2008-10-13  Bruno Haible  <address@hidden>
 
        * lib/glthread/cond.c (glthread_cond_wait_func,
diff --git a/doc/gnulib.texi b/doc/gnulib.texi
index 5b99de0..e4f0bed 100644
--- a/doc/gnulib.texi
+++ b/doc/gnulib.texi
@@ -326,21 +326,16 @@ other functions too.
 
 The getaddrinfo function exists in ws2tcpip.h and -lws2_32 on Windows
 XP.  The function declaration is present if @code{WINVER >= 0x0501}.
-Windows 2000 does not have getaddrinfo in its @file{WS2_32.dll}.
+Windows 2000 does not have getaddrinfo in its @file{WS2_32.DLL}.
 
 Thus, if you want to assume Windows XP or later, you can add
 AC_DEFINE(WINVER, 0x0501) to avoid compiling to (partial) getaddrinfo
 implementation.
 
-If you want to support Windows 2000, don't do anything, but be aware
-that gnulib will use its own (partial) getaddrinfo implementation even
-on Windows XP.  Currently the code does not attempt to determine if
-the getaddrinfo function is available during runtime.
-
-Todo: Make getaddrinfo.c open the WS2_32.DLL and check for the
-getaddrinfo symbol and use it if present, otherwise fall back to our
-own implementation.
-
+If you want to support Windows 2000, don't do anything.  The
+replacement function will open @file{WS2_32.DLL} during run-time to
+see if there is a getaddrinfo function available, and use it when
+available.
 
 @node Libtool and Windows
 @section Libtool and Windows
-- 
1.5.6.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]