summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-06-30 12:48:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-06-30 12:48:25 +0000
commit705c749aa1a1d1c14073fba86051ea99fe28387d (patch)
treeb24fda42fec2b8a78c1c3ff766a9c1c5b1f76eed /CHANGES
parente4ac0f934775a751c5054d739cf99e1a30dfbd08 (diff)
downloadc-ares-705c749aa1a1d1c14073fba86051ea99fe28387d.tar.gz
c-ares-705c749aa1a1d1c14073fba86051ea99fe28387d.tar.bz2
c-ares-705c749aa1a1d1c14073fba86051ea99fe28387d.zip
- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define is
not posix or anything and thus c-ares failed to build on hurd (and possibly elsewhere). The define was also somewhat artificially used in the windows port. Now, I instead rewrote the use of gethostbyname to enlarge the host name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN define. I thus also removed the defien from the namser.h file where it was once added for the windows build. I also fixed init_by_defaults() function to not leak memory in case if error.
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES13
1 files changed, 13 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index d1f2de8..1266fb8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,18 @@
Changelog for the c-ares project
+* Jun 30 2008 (Daniel Stenberg)
+
+- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define is
+ not posix or anything and thus c-ares failed to build on hurd (and possibly
+ elsewhere). The define was also somewhat artificially used in the windows
+ port. Now, I instead rewrote the use of gethostbyname to enlarge the host
+ name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN
+ define. I thus also removed the defien from the namser.h file where it was
+ once added for the windows build.
+
+ I also fixed init_by_defaults() function to not leak memory in case if
+ error.
+
* Jun 9 2008 (Yang Tse)
- Make libcares.pc generated file for pkg-config include information relative