diff options
author | Yang Tse <yangsita@gmail.com> | 2009-12-21 16:55:39 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-12-21 16:55:39 +0000 |
commit | f0917cabb5a52e8db59755afb55e339f0c309af4 (patch) | |
tree | ac12cce80193be42ae15d74036f61330d4e7276d | |
parent | 96395a908a4108d7791aa5d4de22318a1526df42 (diff) |
- 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.
-rw-r--r-- | ares/CHANGES | 5 | ||||
-rw-r--r-- | ares/RELEASE-NOTES | 4 | ||||
-rw-r--r-- | ares/config-win32.h | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/ares/CHANGES b/ares/CHANGES index 52eb7b6d5..e613f4616 100644 --- a/ares/CHANGES +++ b/ares/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/ares/RELEASE-NOTES b/ares/RELEASE-NOTES index 30dd6a3df..ecb456d4e 100644 --- a/ares/RELEASE-NOTES +++ b/ares/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/ares/config-win32.h b/ares/config-win32.h index 7499f3ce7..48af822b9 100644 --- a/ares/config-win32.h +++ b/ares/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 |