Commit Graph
470 Commits
Author SHA1 Message Date
Gisle Vanem 48d6915d8b Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers. 2006-10-31 17:51:54 +00:00
Gisle Vanem 8e881e02f5 Added definition of select() for Watt32. 2006-10-31 17:25:48 +00:00
Gisle Vanem 91fd5ddd0c Rewritten to use ../packages/DOS/common.dj. 2006-10-31 17:24:25 +00:00
Yang Tse d9cab5a6df Sync with lib/setup_once.h curl-7_16_0 2006-10-27 15:37:26 +00:00
Gisle Vanem 4df9c29084 Fixed "'x' might be used uninitialized in this function" warning.
Removed trailing whitespace.
2006-10-25 14:16:01 +00:00
Gisle Vanem d4bc2387b5 Added '-d' option for Watt32 targets. Added cvs id. 2006-10-25 14:13:35 +00:00
Yang Tse dd8b7df5dd Compiler warning fix 2006-10-25 10:25:43 +00:00
Yang Tse 000ac3f39d Sync with lib/setup_once.h 2006-10-18 21:25:12 +00:00
Yang Tse 77ac18117c Check for USE_WINSOCK instead of WIN32 where the check was done
to verify winsock API availability.
2006-10-18 21:05:40 +00:00
Yang Tse 70ed671edf Introduce symbol USE_WINSOCK which will be defined when
using winsock or winsock2 API.
2006-10-18 15:57:49 +00:00
Daniel Stenberg 5d9bf10232 Tor's spell fixes 2006-10-18 12:59:02 +00:00
Yang Tse dd3b42e1ac Replace is*() macros with our own IS*() ones.
Get rid of non ANSI/ISO isascii().
2006-10-18 03:42:06 +00:00
Yang Tse 2a7b004e49 Move definition of IS*() macros to setup_once.h 2006-10-18 03:41:19 +00:00
Yang Tse 69dcc701cf Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support 2006-10-14 12:01:44 +00:00
Daniel Stenberg 8df5b67ab0 Prevent ares_getsock() to overflow if more than 16 sockets are used. 2006-10-13 21:25:11 +00:00
Yang Tse 02d31bef50 Check for struct timeval at configuration time 2006-10-13 01:35:14 +00:00
Daniel Stenberg 04cb824483 avoid an overflow if an excessive amount of servers are used 2006-10-12 16:47:50 +00:00
Yang Tse 298541c56c Remove redundant __CYGWIN__ symbol check 2006-10-11 16:01:16 +00:00
Daniel Stenberg d3439e3332 - Guilherme Balena Versiani: I noted a strange BUG in Win32 port
(ares_init.c/get_iphlpapi_dns_info() function): when I disable the network
  by hand or disconnect the network cable in Windows 2000 or Windows XP, my
  application gets 127.0.0.1 as the only name server. The problem comes from
  'GetNetworkParams' function, that returns the empty string "" as the only
  name server in that case. Moreover, the Windows implementation of
  inet_addr() returns INADDR_LOOPBACK instead of INADDR_NONE.
2006-09-11 20:25:13 +00:00
Daniel Stenberg 1bec3073dc Brad Spencer did
o made ares_version.h use extern "C" for c++ compilers
 o fixed compiler warnings in ares_getnameinfo.c
 o fixed a buffer position init for TCP reads
curl-7_15_6-prepipeline
2006-08-29 15:17:47 +00:00
Daniel Stenberg 70a27de3c5 add missing man page 2006-08-14 07:21:33 +00:00
Yang Tse ec9f8c45e8 Check for network libraries the _same_ way it is done in cURL. curl-7_15_5 2006-08-06 10:58:47 +00:00
Yang Tse cfae7aa9e5 Check for network libraries the same way it is done in cURL. 2006-08-05 22:02:47 +00:00
Yang Tse fc71973aa6 Minor compatibility fix 2006-08-04 17:35:05 +00:00
Gisle Vanem 415e2ae109 Fixed comment. 2006-08-04 15:41:56 +00:00
Yang Tse 857a5f9353 Fix compiler warning 2006-08-04 02:49:04 +00:00
Yang Tse 1a8709fa8d Avoid redundant check. configure script takes care of not defining
HAVE_WINDOWS_H, HAVE_WINSOCK_H, HAVE_WINSOCK2_H, neither
HAVE_WS2TCPIP_H when __CYGWIN__ is defined.
2006-08-04 01:13:24 +00:00
Yang Tse fb5decf740 Being unable to link or find out recv() or send() args types is a fatal error. 2006-08-04 00:39:34 +00:00
Yang Tse 43995b7d1b MinGW/MSYS needs lib ws2_32 for proper operation of configure script. 2006-08-03 21:19:40 +00:00
Daniel Stenberg 19fb255f9e Ravi Pratap fixed ares_getsock() to actually return the proper bitmap and
not always zero!
2006-08-03 18:20:45 +00:00
Yang Tse 6ca041f8f1 Avoid the risk of a false positive detection of MSG_NOSIGNAL when cross compiling a Windows target. 2006-07-31 18:41:29 +00:00
Yang Tse c7aae2ef2e Force compilation failure in case macros sread() or swrite() are not defined. 2006-07-31 17:12:24 +00:00
Yang Tse 6438dff987 Provide definitions needed for macros sread() and swrite() in config file. 2006-07-31 16:58:10 +00:00
Yang Tse cf64c31aac Fix compiler warnings. 2006-07-29 09:15:03 +00:00
Yang Tse 62e22ec3af include setup_once.h dependency and adjust to 80 char lines. 2006-07-29 08:39:20 +00:00
Yang Tse 283737c856 Replace send() and recv() with swrite() and sread() macros. 2006-07-28 18:01:23 +00:00
Yang Tse b05a63758c First step trying to avoid the multiple header inclusion and recursion nightmare.
Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
2006-07-28 14:19:03 +00:00
Yang Tse bed83eaf82 Provide multiple header inclusion prevention definition __ARES_PRIVATE_H 2006-07-26 10:54:08 +00:00
Yang Tse 30d25aad3e Change multiple header inclusion prevention definition to __ARES_BITNCMP_H 2006-07-26 10:47:11 +00:00
Yang Tse 962f710089 Change multiple header inclusion prevention definition to __ARES_INET_NET_PTON_H 2006-07-26 10:43:15 +00:00
Yang Tse e5c95e68d8 Sync header with source code 2006-07-26 10:33:17 +00:00
Yang Tse 4e8835e782 Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>. 2006-07-25 13:49:50 +00:00
Gisle Vanem 08ce30f216 Added getopt() processing. 2006-07-23 10:10:52 +00:00
Gisle Vanem 383126b38f Added getopt() processing of [-t {a|aaaa}]. 2006-07-22 17:31:00 +00:00
Gisle Vanem f417f06ca9 Added CVS id. 2006-07-22 15:38:35 +00:00
Gisle Vanem 0a83c1e416 2nd try adding CVS id. 2006-07-22 15:37:10 +00:00
Gisle Vanem f6e7395ca0 Added CVS id. 2006-07-22 15:21:13 +00:00
Gisle Vanem 4cef1942be Use ares_free_string() to avoid detecting leaks. 2006-07-22 15:12:34 +00:00
Gisle Vanem a5c01eed75 If CURLDEBUG defined, call curl_memdebug() if $CARES_MEMDEBUG is set. 2006-07-22 14:51:39 +00:00
Yang Tse fb7987171c Fix compiler warning 2006-07-14 11:04:19 +00:00