From c2d3f7986be4a594339dd48be7a8483cfb9b543b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 21 Dec 2009 16:55:39 +0000 Subject: [PATCH] - 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. --- CHANGES | 5 +++++ RELEASE-NOTES | 4 ++-- config-win32.h | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 52eb7b6..e613f46 100644 --- a/CHANGES +++ b/CHANGES @@ -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) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 30dd6a3..ecb456d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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! diff --git a/config-win32.h b/config-win32.h index 7499f3c..48af822 100644 --- a/config-win32.h +++ b/config-win32.h @@ -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