]> granicus.if.org Git - curl/commitdiff
- Ingmar Runge noticed that Windows config-win32.h configuration file
authorYang Tse <yangsita@gmail.com>
Mon, 21 Dec 2009 16:55:39 +0000 (16:55 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 21 Dec 2009 16:55:39 +0000 (16:55 +0000)
  did not include a definition for HAVE_CLOSESOCKET which resulted in
  function close() being inappropriately used to close sockets.

ares/CHANGES
ares/RELEASE-NOTES
ares/config-win32.h

index 52eb7b6d51d92cd40d0b0e96bed835084458a805..e613f4616fb1dec30875b00fa3997e6c4f1dc4f9 100644 (file)
@@ -1,5 +1,10 @@
   Changelog for the c-ares project
 
+* December 21, 2009 (Yang Tse)
+- Ingmar Runge noticed that Windows config-win32.h configuration file
+  did not include a definition for HAVE_CLOSESOCKET which resulted in
+  function close() being inappropriately used to close sockets.
+
 Version 1.7.0 (Nov 30, 2009)
 
 * November 26, 2009 (Yang Tse)
index 30dd6a3df5ef9155cf28a91e0e4eae813fbabe8a..ecb456d4e6764aef7718f0c7a6b7bcdf7b8c7269 100644 (file)
@@ -6,10 +6,10 @@ Changed:
 
 Fixed:
 
- o
+ o closing of sockets on Windows systems
 
 Thanks go to these friendly people for their efforts and contributions:
 
+ Ingmar Runge 
 
 Have fun!
index 7499f3ce746875039f30cfebae9f688e077b447e..48af822b930f664f4d82831bb3fd2be0be422665 100644 (file)
@@ -85,6 +85,9 @@
 /*                             FUNCTIONS                            */
 /* ---------------------------------------------------------------- */
 
+/* Define if you have the closesocket function.  */
+#define HAVE_CLOSESOCKET 1
+
 /* Define if you have the gethostname function.  */
 #define HAVE_GETHOSTNAME 1