Commit Graph
810 Commits
Author SHA1 Message Date
Yang Tse 1a9795b401 rearrange to allow internal/private use of ares_writev to any system
that lacks the writev function.
2008-09-16 16:42:48 +00:00
Yang Tse 25d9912b38 NetWare CLIB target has stricmp() and strnicmp() 2008-09-15 17:31:34 +00:00
Yang Tse f2582d6949 include header file only when available 2008-09-15 17:14:29 +00:00
Yang Tse 746f3e2942 rearrange to allow internal/private use of ares_strcasecmp to any system that
lacks the strcasecmp function.
2008-09-15 15:28:26 +00:00
Yang Tse b6e5b752fe improve detection of:
strcasecmp()
  strcmpi()
  stricmp()
  strncasecmp()
  strncmpi()
  strnicmp()
2008-09-15 00:31:42 +00:00
Yang Tse 0cd952f7c2 *** empty log message *** 2008-09-13 01:35:15 +00:00
Gisle Vanem 90167151c9 djgpp does have strdup(). 2008-09-12 14:13:36 +00:00
Yang Tse 4f4bbc63a6 change CRLF into LF line endings 2008-09-12 05:08:18 +00:00
Yang Tse 797372b0f4 strdup() clone for systems/configurations which lack it 2008-09-11 04:02:49 +00:00
Yang Tse 2cb5cbba34 move inclusion of ares_private.h last 2008-09-11 03:46:47 +00:00
Yang Tse 9a36d5718d icc adjustments 2008-09-10 17:35:22 +00:00
Yang Tse 34cc272d98 icc adjustments 2008-09-09 12:19:16 +00:00
Yang Tse 6e781eb2c4 Select strict ANSI C89 conformance for icc 2008-09-08 16:48:58 +00:00
Yang Tse f33bd94c05 remove unnecessary typecasting of malloc() 2008-09-06 05:29:05 +00:00
Yang Tse 5d2ace75a3 remove unnecessary typecasting of realloc() 2008-09-06 04:28:43 +00:00
Daniel Stenberg 4f33fdb183 we start over working towards 1.5.4 curl-7_19_0 2008-08-29 08:55:02 +00:00
Daniel Stenberg d71fd1b305 Version 1.5.3 cares-1_5_3 2008-08-29 08:33:02 +00:00
Daniel Stenberg 2682c714df added the three people from RELEASE-NOTES and sorted the list alphabetically 2008-08-29 08:29:47 +00:00
Yang Tse b487ac8f70 Don't abort configuration if recvfrom() is not available. 2008-08-27 00:25:03 +00:00
Yang Tse c035f2d3a4 Functionality only possible if recvfrom() is available. 2008-08-26 03:08:27 +00:00
Yang Tse 2b838e85e7 George Neill's fix acountry sample application compilation failure. 2008-08-25 03:44:43 +00:00
Yang Tse 09d10cb5c5 Brad House's validation that DNS response address matches the request address 2008-08-25 03:34:50 +00:00
Yang Tse a5b66d3293 fix the output name 2008-08-21 00:13:48 +00:00
Yang Tse c64329b7b1 Get rid of ENABLE_64BIT symbol definition and usage.
Improve HAVE_LONGLONG symbol description.
2008-08-21 00:06:16 +00:00
Yang Tse 5e9322f450 Export 'ares_process_fd' too. 2008-08-20 23:38:36 +00:00
Gisle Vanem 308746c081 Ops, remove 'use_vc'. 2008-08-16 17:05:42 +00:00
Gisle Vanem 3c3c49e048 Support Watt-32 under Win32. 2008-08-16 16:42:44 +00:00
Yang Tse d23952ffdf Fix: Remove now this SIZEOF_CURL_OFF_T symbol definition.
This should have been done with the initial 64-bit curl_off_t patch.
2008-08-10 00:39:45 +00:00
Yang Tse bad5e6f6ae Improve CURL_CHECK_DEF 2008-08-09 17:26:24 +00:00
Yang Tse 0a44b62ea1 Fix IBM C and DEC/Compaq C compiler detection 2008-08-09 17:01:17 +00:00
Yang Tse bcca6b4a47 Initial support of curlbuild.h and curlrules.h which allows
to have a curl_off_t data type no longer gated to off_t.
2008-08-07 00:29:08 +00:00
Yang Tse 088ac83df4 The minimum autoconf version required for this file is 2.50
Avoid dot notation in aclocal serial file number, use a single number now.
2008-08-05 09:08:43 +00:00
Daniel Stenberg 3f1bde7664 - Fix by Tofu Linden:
The symptom:
  * Users (usually, but not always) on 2-Wire routers and the Comcast service
  and a wired connection to their router would find that the second and
  subsequent DNS lookups from fresh processes using c-ares to resolve the same
  address would cause the process to never see a reply (it keeps polling for
  around 1m15s before giving up).

  The repro:
  * On such a machine (and yeah, it took us a lot of QA to find the systems
  that reproduce such a specific problem!), do 'ahost www.secondlife.com',
  then do it again.  The first process's lookup will work, subsequent lookups
  will time-out and fail.

  The cause:
  * init_id_key() was calling randomize_key() *before* it initialized
  key->state, meaning that the randomness generated by randomize_key() is
  immediately overwritten with deterministic values. (/dev/urandom was also
  being read incorrectly in the c-ares version we were using, but this was
  fixed in a later version.)
  * This makes the stream of generated query-IDs from any new c-ares process
  be an identical and predictable sequence of IDs.
  * This makes the 2-Wire's default built-in DNS server detect these queries
  as probable-duplicates and (erroneously) not respond at all.
2008-08-04 20:23:12 +00:00
Yang Tse 5c5e64b2f5 Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.
Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. But,
autoconf 2.62 version of AC_AIX defines _ALL_SOURCE along with other four
preprocessor symbols no matter if the system is AIX or not. To keep the
traditional behaviour, as well as an uniform one, across autoconf versions
AC_AIX is replaced with our own internal macro.
2008-08-04 06:48:11 +00:00
Yang Tse abf47388f9 Adjust DEC/Compaq C compiler settings. 2008-08-03 03:14:05 +00:00
Yang Tse 10ebec6364 Another AC_TRY_LINK conversion to AC_LINK_IFELSE.
Proper definition of HAVE_function if function is found deeper.
2008-08-01 19:29:05 +00:00
Yang Tse e09327a51a Sync up with reality 2008-08-01 03:10:54 +00:00
Yang Tse 43ab062fa5 Rename reentrant.m4 to avoid filename clash. 2008-08-01 02:48:00 +00:00
Yang Tse 638b4279e9 Add file version serial number that might be used by 'aclocal' and others.
Keep the '#' character as the first one on the line.
2008-07-30 12:09:35 +00:00
Yang Tse 94c7de4661 Update copyright year. 2008-07-30 08:27:02 +00:00
Yang Tse 836b11511b Sync comment with reality. 2008-07-30 08:21:25 +00:00
Yang Tse f82c7080a8 Reinstate the 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4' way of
including our local m4/reentrant.m4 file. This even takes care of including the
file in the distribution tarball.
2008-07-30 03:10:03 +00:00
Yang Tse 14aede8eac Add quoting for the AC_DEFINE arguments. 2008-07-29 18:23:11 +00:00
Yang Tse 0d2c15a28b Also remove the whitespace. 2008-07-29 18:01:29 +00:00
Yang Tse 64b75e2ec6 Also remove the extra quoting. 2008-07-29 17:45:33 +00:00
Yang Tse 22f8a875a1 Replace some '@%:@' quadigraphs by its actual representation '#'.
This quadigraph used before a C preprocessor 'define' directive could
be fooling M4, when processing this file, and make it think that the
line contains a pure M4 'define' macro.
2008-07-29 16:29:34 +00:00
Yang Tse d20656e947 Tests done using 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4
in top Makefile.am triggered a problem that prevented aclocal from running
successfully on SunOS 5.10 with GNU m4 1.4.5 and GNU Autoconf 2.61

A tarball which reproduces mentioned problem is the one dated July-28-2008
http://cool.haxx.se/curl-daily/curl-7.19.0-20080728.tar.gz

We actually don't need all the bells and whistles that the above mechanism
provides. We only need to include our m4/reentrant.m4 file in acinclude.m4
so here we go with this simpler mechanism.
2008-07-29 02:26:21 +00:00
Yang Tse d79fe5cde0 for debugging purposes show ACLOCAL_FLAGS 2008-07-28 15:13:31 +00:00
Yang Tse cf37a2bed6 These lines were unintentionally removed in previous commit 2008-07-27 23:43:53 +00:00
Yang Tse bf7a169de7 Partially undo change that prevented SED, GREP, EGREP and AR from being changed by libtool or autoconf. 2008-07-27 22:25:07 +00:00