1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-12-08 03:52:29 +00:00
Commit Graph

130 Commits

Author SHA1 Message Date
7012fc65d9 Made sortlist support IPv6 (this can probably use some testing) 2005-04-09 19:59:59 +00:00
61f1399c2f Made sortlist support CIDR matching for IPv4 2005-04-09 16:49:47 +00:00
b41effd113 Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS
X.
2005-04-06 22:27:42 +00:00
9d89bc0179 silence win32 compiler warnings 2005-03-20 12:29:15 +00:00
bb42658b06 silence warnings on win32 about static functions that are never used 2005-03-19 01:03:46 +00:00
994f16d733 untabified 2004-12-10 21:46:00 +00:00
6c64cc8669 Replace IsNT with IS_NT().
Return correct timeval in windows_port.c.
Squelch gcc warnings:
  use 'ares_socket_t' in ares_fds.c.
  Don't cast a 'lvalue' in ares_init.c.
2004-11-10 14:23:20 +00:00
3e748f4b50 removed tabs and trailing whitespace from source 2004-10-06 07:50:18 +00:00
47bd7d7548 - Henrik Stoerner fix: got a report that Tru64 Unix (the unix from Digital
when they made Alpha's) uses /etc/svc.conf for the purpose fixed below for
  other OSes. He made c-ares check for and understand it if present.

- Now c-ares will use local host name lookup _before_ DNS resolving by default
  if nothing else is told.
2004-09-28 22:19:39 +00:00
405d83852a - Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
file to determine the sequence in which to search /etc/hosts and DNS.  So on
  systems where this order is defined by /etc/host.conf instead of a "lookup"
  entry in /etc/resolv.conf, C-ARES will always default to looking in DNS
  first, and /etc/hosts second.

  c-ares now looks at

  1) resolv.conf (for the "lookup" line);
  2) nsswitch.fon (for the "hosts:" line);
  3) host.conf (for the "order" line).

  First match wins.
2004-09-26 22:35:18 +00:00
6deb40acac Changes for Watt-32 on Windows. I've assumed Configure
sets the required HAVE_xx defines for non-DOS/Win targets.
2004-08-20 13:45:26 +00:00
5d6bdc38cb Harshal Pradhan made minor syntax change to make this build with MSVC 7.1 2004-08-13 12:00:33 +00:00
d5f3636a52 - Fixed a few variable return types for some system calls. Made configure
check for ssize_t to make it possible to use that when receiving the send()
  error code. This is necessary to prevent compiler warnings on some systems.

- Made configure create config.h, and all source files now include setup.h that
  might include the proper config.h (or a handicrafted alternative).

- Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
  use 'int' for that.

- automake-ified and libool-ified c-ares. Now it builds libcares as a shared
  lib on most platforms if wanted. (This bloated the size of the release
  archive with another 200K!)

- Makefile.am now uses Makefile.inc for the c sources, h headers and man
  pages, to make it easier for other makefiles to use the exact same set of
  files.

- Adjusted 'maketgz' to use the new automake magic when building distribution
  archives.
2004-07-22 22:18:45 +00:00
cb0a33076a Gisle Vanem made this build fine with djgpp and the Watt-32 stack. 2004-07-01 06:58:47 +00:00
fcf36da14f prevent compiler warnings on non-win32 platforms 2004-06-14 10:45:30 +00:00
d37a866e8d Gisle Vanem's init patch for Windows 2004-06-10 13:11:32 +00:00
80c6ba9b31 James Bursa fixed a RISC OS init issue, removed trailing whitespace 2004-06-08 21:25:11 +00:00
76f520955d clear the domains and sortlist when the 'channel' is first created so that
we can compare if non-NULL elsewhere
2004-05-27 07:10:02 +00:00
44f76e6a27 James Bursa's patch to avoid free(NULL) (mainly because the libcurl memdebug
system thinks free(NULL) is badness)
2004-05-13 06:53:29 +00:00
30f3594a7a - Nico Stappenbelt reported that when processing domain and search lines in
the resolv.conf file, the first entry encountered is processed and used as
  the search list. According to the manual pages for both Linux, Solaris and
  Tru64, the last entry of either a domain or a search field is used.
2004-05-11 21:12:10 +00:00
5ab993a1e0 don't free(NULL) 2004-05-03 09:17:49 +00:00
481d5ac1b7 fixed a "comparison between signed and unsigned" warning 2004-02-26 22:19:20 +00:00
ff59e51250 minor fixes to avoid MIPSPro pedantic warnings 2004-02-26 12:47:43 +00:00
45efb3cc73 Dan Fandrich fixed a minor flaw in Dominick's fix! 2004-02-25 06:37:42 +00:00
d0d3f7ff6c more int/long fixes after icc "remarks" 2004-02-23 08:00:56 +00:00
33907a6f10 next_id is an unsigned short, typecast the assign to prevent picky compilers
to warn
2004-02-23 07:57:44 +00:00
bcc693e966 Dominick Meglio's fix for supporting multiple names in the Nameserver key
on Windows.
2004-02-22 22:42:20 +00:00
f05add885b try_config() takes a second parameter as const, to prevent picky compiler
warnings
2004-02-04 07:50:51 +00:00
3d0a7c00df remove rcsid stuff from c files, it serves no useful purpose 2004-02-02 15:59:35 +00:00
5e847a14bd ares 1.1.1 with collected applied patches 2003-10-07 21:54:04 +00:00