AgeCommit message (Collapse)AuthorFilesLines
2013-02-19inet_ntop.c: s/socklen_t/ares_socklen_t for portabilityYang Tse1-3/+3
2013-02-19ares.h: s/socklen_t/ares_socklen_t for portabilityDaniel Stenberg1-1/+1
2013-02-17ares_inet_ntop.3: 4th argument is socklen_t!Daniel Stenberg1-1/+2
2013-02-17spell inet correctly!Daniel Stenberg2-2/+2
2013-02-17ares_inet_pton/ntop: cleanupDaniel Stenberg16-62/+36
Make sure that the symbols are always exported and present in c-ares. Make the headers prefixed with 'ares'. Removed the inet_ntop.h version as it no longer features any content.
2013-02-17ares_inet_ntop/ares_inet_pton: added man pagesDaniel Stenberg3-3/+98
2013-02-15curl_setup_once.h: definition of HAVE_CLOSE_S defines sclose() to close_s()Gisle Vanem1-1/+3
2013-02-15config-dos.h: define HAVE_CLOSE_S for MSDOS/Watt-32Gisle Vanem1-2/+1
2013-02-15config-dos.h: define strerror() to strerror_s_() for High-CGisle Vanem1-1/+2
2013-02-13ares_get_datatype: removed unused functionDaniel Stenberg2-33/+2
it was also wrongly named as internal functions require two underscores
2013-02-13ares__bitncmp: use two underscores for private functionsDaniel Stenberg3-29/+27
It used a single one previously making it look like a public one
2013-02-13ares__generate_new_id: moved to ares_query.cDaniel Stenberg3-9/+8
... and ares__rc4 is turned into a local static function.
2013-02-13ares__swap_lists: make private and staticDaniel Stenberg3-28/+27
... since there's only one user, make it static within ares_process.c
2013-02-13Makefile.msvc: add four VS version stringsYang Tse1-1/+9
2013-02-13ares_expand_name.3: clarify how to free the dataDaniel Stenberg1-1/+3
2013-01-30zz40-xc-ovr.m4: fix 'wc' detection - follow-up 2Yang Tse1-1/+1
- Fix a pair of single quotes to double quotes. URL: Reported by: Tor Arntsen
2013-01-30zz40-xc-ovr.m4: fix 'wc' detection - follow-upYang Tse1-8/+20
- Take into account that 'wc' may return leading spaces and/or tabs. - Set initial IFS to space, tab and newline.
2013-01-30zz40-xc-ovr.m4: fix 'wc' detectionYang Tse1-3/+14
- Take into account that 'wc' may return leading spaces. - Set internationalization behavior variables. Tor Arntsen analyzed and reported the issue. URL:
2013-01-29zz40-xc-ovr.m4: check another three basic utilitiesYang Tse1-24/+116
2013-01-28zz40-xc-ovr.m4: 1.0 interface stabilizationYang Tse2-90/+118
- Stabilization results in 4 public interface m4 macros: XC_CONFIGURE_PREAMBLE XC_CONFIGURE_PREAMBLE_VER_MAJOR XC_CONFIGURE_PREAMBLE_VER_MINOR XC_CHECK_PATH_SEPARATOR - Avoid one level of internal indirection - Update comments - Drop XC_OVR_ZZ40 macro
2013-01-26zz40-xc-ovr.m4: emit witness message in configure BODYYang Tse1-3/+36
This avoids witness message in output when running configure --help, while sending the message to config.log for other configure runs.
2013-01-25zz40-xc-ovr.m4: truly do version conditional overridingYang Tse1-2/+15
- version conditional overriding - catch unexpanded XC macros - fix double words in comments
2013-01-25zz40-xc-ovr.m4: fix variable assignment of subshell output bashismYang Tse1-5/+5
Tor Arntsen analyzed and reported the issue. URL:
2013-01-25zz40-xc-ovr.m4: reinstate strict AC_REQUIRE macro dependenciesYang Tse1-0/+36
2013-01-25zz40-xc-ovr.m4: avoid double single-quote usageYang Tse1-4/+4
2013-01-24zz40-xc-ovr.m4: parentheses balancing of 'case' statementsYang Tse1-6/+6
m4 quadrigraph shell comment technique allows proper autoconf parentheses balancing in shell 'case' statements. The presence of unbalanced parentheses may otherwise trigger expansion bugs.
2013-01-24zz40-xc-ovr.m4: internals overhaulingYang Tse1-90/+120
- Update comments - Execute commands in subshells - Faster path separator check - Fix missing 'test' command - Rename private macros - Minimize AC_REQUIRE usage
2013-01-23zz40-xc-ovr.m4: redirect errors and warnings to stderrYang Tse1-7/+27
2013-01-23configure: use XC_CONFIGURE_PREAMBLE early checksYang Tse3-101/+2
Some basic checks we make were placed early enough in generated configure script when using autoconf 2.5X versions. Newer autoconf versions expand these checks much further into the configure script, rendering them useless. Using XC_CONFIGURE_PREAMBLE fixes placement of early intended checks across all our autoconf supported versions.
2013-01-23zz40-xc-ovr.m4: provide XC_CONFIGURE_PREAMBLE macroYang Tse1-0/+394
2013-01-23configure: autotools compatibility fixes - step IYang Tse5-27/+351
Fix proper macro expansion order across autotools versions for C compiler and preprocessor program checks.
2013-01-23configure: fix automake 1.13 compatibilityYang Tse3-10/+66
Tested with: buildconf: autoconf version 2.69 buildconf: autom4te version 2.69 buildconf: autoheader version 2.69 buildconf: automake version 1.13.1 buildconf: aclocal version 1.13.1 buildconf: libtool version 2.4 buildconf: GNU m4 version 1.4.16
2013-01-04ares_private.h: use again memdebug.h instead of curl_memdebug.hYang Tse1-1/+1 replace AM_CONFIG_HEADER with AC_CONFIG_HEADERSYang Tse1-1/+1
automake 1.13 errors if AM_CONFIG_HEADER is used in configure script.
2013-01-01cares-override.m4: provide AC_CONFIG_MACRO_DIR definition conditionallyYang Tse1-7/+7
Provide a 'traceable' AC_CONFIG_MACRO_DIR definition only when using an autoconf version that does not provide it, instead of what we were doing up to now of providing and overriding AC_CONFIG_MACRO_DIR for all autoconf versions.
2012-12-28ares_private.h: use curl_memdebug.h instead of memdebug.hYang Tse1-1/+2
2012-12-18vc6cares.dsp: add ares_create_query.c and ares_parse_soa_reply.cYang Tse1-0/+8
2012-12-17cares-functions.m4: improve gethostname arg 2 data type checkYang Tse1-2/+4
2012-12-17setup_once.h: HP-UX specific 'bool', 'false' and 'true' definitions.Yang Tse1-12/+12
Also reverts commit bceb40095a
2012-12-16configure: check if compiler halts on function prototype mismatchYang Tse2-1/+38
2012-12-15cares-functions.m4: add gethostname arg 2 data type check and definitionYang Tse1-1/+29
2012-12-15cares-functions.m4: update thread-safeness detection of getaddrinfo()Yang Tse1-7/+47
Take in account that POSIX standard Issue 7 drops h_errno support. Now, we also consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or (_XOPEN_SOURCE >= 700) independently of whether h_errno exists or not. Take in account that h_errno might be a modifiable lvalue not defined as a C preprocessor macro.
2012-12-14setup_once.h: HP-UX <sys/socket.h> issue workaroundYang Tse1-0/+20
Issue: When building a 32bit target with large file support HP-UX <sys/socket.h> header file may simultaneously provide two different sets of declarations for sendfile and sendpath functions, one with static and another with external linkage. Given that we do not use mentioned functions we really don't care which linkage is the appropriate one, but on the other hand, the double declaration emmits warnings when using the HP-UX compiler and errors when using modern gcc versions resulting in fatal compilation errors. Mentioned issue is now fixed as long as we don't use sendfile nor sendpath functions.
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse28-99/+9
Inclusion of these two header files now done in setup_once.h
2012-12-14Header inclusion clean-upYang Tse35-120/+5
Remove header inclusions already done in setup_once.h
2012-12-12setup_once.h: HP-UX specific TRUE and FALSE definitionsYang Tse1-0/+12
Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
2012-12-10ares_timeout.c: fix compiler warningYang Tse1-2/+7
2012-11-23ares_create_query.c: IRIX compilation fixYang Tse1-1/+5
2012-11-23c-ares/nameser.h: add some T_* defines for ns_t_* valuesYang Tse1-0/+8
2012-11-07Revert "ares_parse_aaaa_reply: fix memory leak"Daniel Stenberg1-1/+0
This reverts commit 50f25d8a4b2d16f4c5e0ef620238688b7a315c7a.