Yang Tse
700b928544
configure: fix recvfrom 5th arg type qualifier detection
...
Additionally remove whitespace from EOL
14 years ago
Daniel Stenberg
3cb1afe054
strlen: use size_t to receive the return
14 years ago
Yang Tse
45ec020795
xlc: avoid preprocessor definition usage when linking
14 years ago
Yang Tse
f9b24e590c
ares_nowarn: icc 9.1 workaround
14 years ago
Yang Tse
56c77364d5
ares_nowarn: header inclusion fix
14 years ago
Yang Tse
22a52102d6
ares_init: make ares_private.h last included header again
14 years ago
Yang Tse
f413fce823
compiler warning: fix
...
Fix compiler warning: conversion may lose significant bits
14 years ago
Yang Tse
5ef8f5ead2
compiler warning: fix
...
Fix compiler warning: variable was set but never used
Fix compiler warning: clobber ignored
14 years ago
Yang Tse
e1c9539962
ares_iphlpapi: fix compiler warnings
14 years ago
Yang Tse
ef5390e6bb
winsock: compilation fixes
...
Provide winsock iphlpapi alternative definitions to prevent compilation
failures when using a variety of winsock header implementations.
14 years ago
David Stuart
6518b56a5e
IPv6-on-windows: find DNS servers correctly
14 years ago
Daniel Stenberg
d60f07d094
man pages: docs for the c-ares utility programs
14 years ago
Daniel Stenberg
a268ae6a78
ares_parse_ns_reply.c: remove CVSism
14 years ago
Yang Tse
8520a37f62
build: fix header inclusion
14 years ago
Yang Tse
74f1bd8c22
getservbyport replacement for Win CE
14 years ago
Yang Tse
5e5c0132e6
renamed getplatform() to ares__getplatform() to avoid namespace pollution
14 years ago
Yang Tse
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.
14 years ago
Yang Tse
2c2e2d839e
adig: RFC4034 resource record type detection
...
Can be tested with: adig -s 8.8.8.8 -t ANY example.com
14 years ago
Yang Tse
ebc9a9d958
nameser.h: RFC4034 resource record type definitions
14 years ago
Yang Tse
5b6a188909
build: move platform stuff to ares_platform.c and ares_platform.h
14 years ago
Yang Tse
bd066ab8ef
build: find out windows platform using GetVersionEx()
14 years ago
Yang Tse
822fd0f877
build: use getenv() replacement function for systems which lack it
14 years ago
Yang Tse
3abad87d88
setup_once: system error codes for Windows CE
14 years ago
Yang Tse
c7ce7c7d45
ares_search: use ERRNO macro for portability sake
14 years ago
Yang Tse
9099a9eb0c
System's errno.h inclusion cleanup follow-up.
...
System's errno.h is conditionally included from setup_once.h
14 years ago
Yang Tse
d81cae7a67
Windows CE specific adjustment
...
All versions of Windows CE support Winsock 1.1
14 years ago
Yang Tse
8c503ddf79
System's errno.h inclusion cleanup.
...
System's errno.h is conditionally included from setup_once.h
14 years ago
Yang Tse
ef8e2ad601
ares_init: fix gethostname error detection on winsock platforms
14 years ago
Yang Tse
cd753ffe14
configure: r-enable temporarily disabled detection of system's inet_ntop()
...
Detection was temporarily disabled in commit 674e044ccb
14 years ago
Daniel Stenberg
1bd524dd4a
configure: stop using the deprecated AM_INIT_AUTOMAKE syntax
14 years ago
Gisle Vanem
0f226fb8e4
Watt-32: use errno
...
Make sure Watt-32 programs use 'errno' even on Win32 targets
14 years ago
Guenter Knauf
ffb7697ac8
Removed commented CLFAGS no longer needed.
14 years ago
Guenter Knauf
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.
14 years ago
Gisle Vanem
9a11973403
Watt32: fix server init
...
Somewhere in the process, programs using the Watt-32 tcp/ip stack
stopped working.
14 years ago
Dima Tisnek
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".
14 years ago
Yang Tse
dec9f79d0a
Makefile.msvc: add a couple of VS version strings
14 years ago
Yang Tse
e5fe34eea6
Makefile.msvc: add a couple of VS version strings
14 years ago
Yang Tse
5a21ba2b66
build: add install target to Makefile.msvc
14 years ago
Daniel Stenberg
d70721eb65
ares_set_servers_csv: remove unused variables
14 years ago
Daniel Stenberg
bd6636c138
init_by_resolv_conf: fix compiler warnings
...
The code received the return codes in the 'status' variable without
using it. Instead we just ignore those particular errors.
14 years ago
Daniel Stenberg
39d7f64361
getv4: Value stored to 'dst' is never read
14 years ago
Daniel Stenberg
366cd6d54d
advance_tcp_send_queue: avoid NULL ptr dereference
...
If given a too large 'num_bytes' value, it would cause a NULL ptr
dereference. Instead the code will now break out of the loop at the end
of the list.
14 years ago
Peter Pentchev
766a5aaf86
configure: fix a bashism
14 years ago
Daniel Stenberg
2d5ed6400b
cleanup: avoid unsafe typecasts
...
Avoid the risk of reading 16bit data from an unaligned address by using
a macro that is adapted for this.
14 years ago
Stefan Bühler
70b726c334
ares_expand_name: Fix encoded length for indirect root
14 years ago
Yang Tse
a44f4c33e9
build: add some explicit file references to VS project files
14 years ago
Yang Tse
1cfd800d4a
config-win32: provide HAVE_ASSERT_H definition
14 years ago
Yang Tse
7a4ec5ce61
build: include ares_nowarn in sample program VS project files
14 years ago
Yang Tse
e566cc100f
build: include ares_nowarn among SAMPLESOURCES and SAMPLEHEADERS
14 years ago
Yang Tse
674e044ccb
configure: temporarily disable detection of system's inet_ntop()
...
This is done to allow compilation of ares_inet_ntop() by some daily
builds picky compilers that otherwise do not need this function.
14 years ago