summaryrefslogtreecommitdiff
path: root/ares_search.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-08downstream: ocloexecAnas Nashif1-1/+1
Change-Id: Ie10c7a5414603781405af5b7a094c9cc359e2465 Author: Anas Nashif <anas.nashif@intel.com>
2012-12-14Header inclusion clean-upYang Tse1-5/+0
Remove header inclusions already done in setup_once.h
2011-03-22ares_search: use ERRNO macro for portability sakeYang Tse1-1/+1
2011-03-22System's errno.h inclusion cleanup.Yang Tse1-1/+0
System's errno.h is conditionally included from setup_once.h
2010-09-30Fix lookup with HOSTALIASES set.Mike Crowe1-1/+1
ares__read_line returns ARES_EOF when it reaches the end of the file. This will happen every time when reading to the end of the HOSTALIASES file. Unfortunately single_domain treats this error as being fatal. Signed-off-by: Mike Crowe <mac@mcrowe.com>
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2009-10-08Fix compiler warningYang Tse1-1/+2
2009-01-18fopen() returns error in 'errno' even on Windows.Gisle Vanem1-7/+7
So don't use ERRNO (GetLastError()). Trimmed trailing blanks.
2008-09-17include <strings.h>Yang Tse1-0/+4
2008-09-17adjust inclusion of "nameser.h"Yang Tse1-4/+1
2007-10-16Fix a bug where fallback from AF_INET6 to AF_INET would not work properly ↵Steinar H. Gunderson1-4/+22
together with relative search; if you had a search path of .a.com and .b.com, and foo.a.com would return ARES_ENODATA and foo.b.com would return ARES_ENOTFOUND, the lookup would not properly retry with AF_INET as it forgot the first ARES_ENODATA.
2007-09-28Make the query callbacks return the number of timeouts that happened during ↵Steinar H. Gunderson1-9/+13
the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
2007-02-19add debug messages for initialization failuresYang Tse1-0/+1
2007-02-17compiler warning fixYang Tse1-0/+1
2007-02-16add debug messages for fopen() failuresYang Tse1-0/+17
2006-10-18Replace is*() macros with our own IS*() ones.Yang Tse1-3/+3
Get rid of non ANSI/ISO isascii().
2006-07-222nd try adding CVS id.Gisle Vanem1-1/+1
2006-07-22Added CVS id.Gisle Vanem1-0/+2
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg1-73/+73
2004-08-20Changes for Watt-32 on Windows. I've assumed ConfigureGisle Vanem1-1/+1
sets the required HAVE_xx defines for non-DOS/Win targets.
2004-07-22- Fixed a few variable return types for some system calls. Made configureDaniel Stenberg1-0/+1
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-05-27free() allocated memory when the ares search can't be madeDaniel Stenberg1-0/+5
2004-02-23more int vs long/size_t fixes after icc compiler warningsDaniel Stenberg1-2/+3
2004-02-02remove rcsid stuff from c files, it serves no useful purposeDaniel Stenberg1-2/+0
2003-10-07ares 1.1.1 with collected applied patchesDaniel Stenberg1-0/+273