22c527cc87
Use correct sizeof in ares_getnameinfo()
2011-06-14 19:04:23 +02:00
09f8a05573
Do not leak rr_name on failures inside ares_parse_ptr_reply
2011-06-14 16:52:32 +02:00
a1116723d4
Do not leak rr_name on failures inside ares_parse_a_reply
2011-06-14 16:48:26 +02:00
18b6d475dc
Do not leak rr_name on failures inside ares_parse_aaaa_reply
2011-06-14 16:46:13 +02:00
978a929b40
Do not leak rr_name on failures inside ares_parse_ns_reply
2011-06-14 16:41:29 +02:00
8e457f2c41
Fix incorrect sizeof() in ares_save_options
2011-06-14 16:41:29 +02:00
654733a399
Fix incorrect allocation in ares_parse_ptr_reply()
2011-06-14 16:41:29 +02:00
b5823d6570
Only fall back to AF_INET searches when looking for AF_UNSPEC addresses
2011-06-14 16:41:29 +02:00
22c01e96f7
Do not use sized constants in public headers
2011-06-14 16:41:29 +02:00
adf75c56c4
ares_free_hostent(NULL) should be a noop
2011-06-13 22:47:35 +02:00
e67edcd18d
configure: fix recvfrom 5th arg type qualifier detection (followup)
2011-06-08 15:55:48 +02:00
700b928544
configure: fix recvfrom 5th arg type qualifier detection
...
Additionally remove whitespace from EOL
2011-06-08 13:38:10 +02:00
3cb1afe054
strlen: use size_t to receive the return
2011-06-04 20:14:38 +02:00
45ec020795
xlc: avoid preprocessor definition usage when linking
2011-06-04 04:26:40 +02:00
f9b24e590c
ares_nowarn: icc 9.1 workaround
2011-06-01 12:13:05 +02:00
56c77364d5
ares_nowarn: header inclusion fix
2011-05-27 06:55:50 +02:00
22a52102d6
ares_init: make ares_private.h last included header again
2011-05-26 17:32:43 +02:00
f413fce823
compiler warning: fix
...
Fix compiler warning: conversion may lose significant bits
2011-05-26 16:06:40 +02:00
5ef8f5ead2
compiler warning: fix
...
Fix compiler warning: variable was set but never used
Fix compiler warning: clobber ignored
2011-05-25 11:19:10 +02:00
e1c9539962
ares_iphlpapi: fix compiler warnings
2011-05-21 03:53:32 +02:00
ef5390e6bb
winsock: compilation fixes
...
Provide winsock iphlpapi alternative definitions to prevent compilation
failures when using a variety of winsock header implementations.
2011-05-20 16:43:25 +02:00
6518b56a5e
IPv6-on-windows: find DNS servers correctly
2011-05-17 11:53:13 +02:00
d60f07d094
man pages: docs for the c-ares utility programs
2011-05-09 11:47:43 +02:00
a268ae6a78
ares_parse_ns_reply.c: remove CVSism
2011-04-30 00:17:03 +02:00
8520a37f62
build: fix header inclusion
2011-03-27 10:37:03 +02:00
74f1bd8c22
getservbyport replacement for Win CE
2011-03-27 04:27:49 +02:00
5e5c0132e6
renamed getplatform() to ares__getplatform() to avoid namespace pollution
2011-03-25 17:57:02 +01:00
e49ce8f973
configure: fix libtool warning
...
Recent versions of libtool are now tracing usage of AC_CONFIG_MACRO_DIR
macro and warn heavily when not used in configure script along with
ACLOCAL_AMFLAGS in Makefile.am. So in order to make libtool happy
while keeping backwards compatibility this is added.
2011-03-25 13:13:55 +01:00
2c2e2d839e
adig: RFC4034 resource record type detection
...
Can be tested with: adig -s 8.8.8.8 -t ANY example.com
2011-03-24 20:25:49 +01:00
ebc9a9d958
nameser.h: RFC4034 resource record type definitions
2011-03-24 20:24:42 +01:00
5b6a188909
build: move platform stuff to ares_platform.c and ares_platform.h
2011-03-24 11:31:50 +01:00
bd066ab8ef
build: find out windows platform using GetVersionEx()
2011-03-23 20:53:28 +01:00
822fd0f877
build: use getenv() replacement function for systems which lack it
2011-03-23 13:44:42 +01:00
3abad87d88
setup_once: system error codes for Windows CE
2011-03-22 20:51:15 +01:00
c7ce7c7d45
ares_search: use ERRNO macro for portability sake
2011-03-22 20:50:42 +01:00
9099a9eb0c
System's errno.h inclusion cleanup follow-up.
...
System's errno.h is conditionally included from setup_once.h
2011-03-22 17:19:37 +01:00
d81cae7a67
Windows CE specific adjustment
...
All versions of Windows CE support Winsock 1.1
2011-03-22 14:28:47 +01:00
8c503ddf79
System's errno.h inclusion cleanup.
...
System's errno.h is conditionally included from setup_once.h
2011-03-22 14:02:23 +01:00
ef8e2ad601
ares_init: fix gethostname error detection on winsock platforms
2011-03-22 13:43:34 +01:00
cd753ffe14
configure: r-enable temporarily disabled detection of system's inet_ntop()
...
Detection was temporarily disabled in commit 674e044ccb
2011-03-22 12:56:30 +01:00
1bd524dd4a
configure: stop using the deprecated AM_INIT_AUTOMAKE syntax
2011-03-15 11:29:12 +01:00
0f226fb8e4
Watt-32: use errno
...
Make sure Watt-32 programs use 'errno' even on Win32 targets
2011-03-15 11:29:12 +01:00
ffb7697ac8
Removed commented CLFAGS no longer needed.
2011-02-18 19:58:09 +01:00
6e3e66dc5c
Fixed CFLAGS for NetWare.
...
Added -m32 to enable compilation with x86_64 compilers;
added conditional to set -fpcc-struct-return only for gcc compiler.
2011-02-18 19:03:50 +01:00
9a11973403
Watt32: fix server init
...
Somewhere in the process, programs using the Watt-32 tcp/ip stack
stopped working.
2011-02-18 13:59:00 +01:00
e14f136aa3
config_sortlist: (win32) missing else
...
Without an else there, contents of "pat" that could have been
successfully set just above, may be clobbered by successive unsuccessful
calls to "xxx_pton" or "ip_addr".
2011-02-16 23:44:36 +01:00
dec9f79d0a
Makefile.msvc: add a couple of VS version strings
2011-01-17 21:06:38 +01:00
e5fe34eea6
Makefile.msvc: add a couple of VS version strings
2011-01-17 20:44:23 +01:00
5a21ba2b66
build: add install target to Makefile.msvc
2011-01-17 19:37:21 +01:00
d70721eb65
ares_set_servers_csv: remove unused variables
2010-12-27 13:19:37 +01:00