Commit Graph

137 Commits

Author SHA1 Message Date
Daniel Stenberg
b484b3b696 Gisle Vanem improved build on Windows. 2004-03-10 11:28:34 +00:00
Daniel Stenberg
be6af69dc7 mingw has str(n)casecmp() functions 2004-03-09 10:18:09 +00:00
Daniel Stenberg
3a80dc7f3e timezone dummy to build better on Windows - Gisle Vanem 2004-03-09 09:47:51 +00:00
Daniel Stenberg
bd42a2acb1 Gisle Vanem fixed the bad argc check 2004-03-09 09:43:30 +00:00
Daniel Stenberg
09cce943cb this is generated, removed from CVS 2004-03-08 16:29:45 +00:00
Daniel Stenberg
213d64fbd7 attempted typecase to silence the MIPSpro warning:
cc-1506 cc: REMARK File = ../../curl/ares/ares__read_line.c, Line = 46
There is an implicit conversion from "unsigned long" to "int"; rounding, sign
extension, or loss of accuracy may result.

if (!fgets(*buf + offset, *bufsize - offset, fp))
2004-03-03 13:03:35 +00:00
Daniel Stenberg
d818cbe58c Dirk Manske fixed the attempt to install the removed errmem manpage 2004-02-29 18:39:31 +00:00
Daniel Stenberg
17a3aa1ddc minor size_t fix to kill a warning 2004-02-27 13:21:47 +00:00
Daniel Stenberg
7bd55dc17c updated the debug option function from curl's acinclude.m4 2004-02-27 11:29:36 +00:00
Daniel Stenberg
4ba7ef34d1 fixed a "comparison between signed and unsigned" warning 2004-02-26 22:19:20 +00:00
Daniel Stenberg
33eaf2e18b minor fixes to avoid MIPSPro pedantic warnings 2004-02-26 12:47:43 +00:00
Daniel Stenberg
a054e5baf3 don't mix int and size_t, it generates warnings! 2004-02-26 12:45:29 +00:00
Daniel Stenberg
0373758359 added the better debug option logic from curl by adding acinclude.m4 to the
configure stuff
2004-02-25 14:32:39 +00:00
Daniel Stenberg
3be66f3a03 Don't check for HAVE_ defines in this header file, it is meant to be public
and we can't depend on configure-defines in it. This logic is borrowed from
the public curl headers.
2004-02-25 07:22:00 +00:00
Daniel Stenberg
089bdaed00 fix 2004-02-25 07:17:31 +00:00
Daniel Stenberg
0d3674129f Dan Fandrich fixed a minor flaw in Dominick's fix! 2004-02-25 06:37:42 +00:00
Daniel Stenberg
fce6783be4 check for a few basic header files 2004-02-23 16:20:42 +00:00
Daniel Stenberg
48bc26e7e3 include sys/select.h 2004-02-23 16:20:31 +00:00
Daniel Stenberg
7adf43c1c5 ares_free_errmem is gone 2004-02-23 13:35:28 +00:00
Daniel Stenberg
d007e5615c unused and now removed 2004-02-23 13:33:18 +00:00
Daniel Stenberg
ae76a67566 more int vs long/size_t fixes after icc compiler warnings 2004-02-23 08:04:31 +00:00
Daniel Stenberg
76241d0a02 more int/long fixes after icc "remarks" 2004-02-23 08:00:56 +00:00
Daniel Stenberg
89227a9d75 next_id is an unsigned short, typecast the assign to prevent picky compilers
to warn
2004-02-23 07:57:44 +00:00
Daniel Stenberg
dfb5090e0f typecase the bitfiddling results since we get a long and we store an int,
they may not be of the size size
2004-02-23 07:55:58 +00:00
Daniel Stenberg
c7fe8a7a11 make ares_expand_name() take a long * instead of an int *, since we do
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need
long
2004-02-23 07:52:20 +00:00
Daniel Stenberg
7174ca7a20 strlen() returns a size_t, which might be larger than int on some platforms 2004-02-23 07:46:59 +00:00
Daniel Stenberg
32a678eab3 Dominick Meglio's fix for supporting multiple names in the Nameserver key
on Windows.
2004-02-22 22:42:20 +00:00
Daniel Stenberg
bd7ba3bde6 this code uses no long long, so we can have warnings about them 2004-02-22 22:36:36 +00:00
Daniel Stenberg
49aa798082 check for standard headers when --enable-debug is used 2004-02-19 09:33:59 +00:00
Daniel Stenberg
4b11e19f26 I removed the socklen_t requirement from memdebug.h, so we don't need to
figure it out here anymore to build debug builds.
2004-02-18 12:26:27 +00:00
Daniel Stenberg
e75ab79bdb The --enable-debug option really requires this to be built as part of curl.
When using it, we now set the include path to better find the devel curl
headers, and we check for the socklen_t type since the curl memdebug stuff
needs it.
2004-02-18 09:07:50 +00:00
Daniel Stenberg
8300a880cc memdebug build, 'make' no longer builds the demo tools 2004-02-17 07:41:10 +00:00
Daniel Stenberg
420bbd2e08 'make all' also builds the demos 2004-02-17 07:40:46 +00:00
Daniel Stenberg
d87981e4c1 include ares_private.h to make sure we get the memdebug stuff included 2004-02-17 07:40:31 +00:00
Daniel Stenberg
59091fa860 If CURLDEBUG is set we use the libcurl internal memdebug system to track
memory leaks etc.
2004-02-17 07:40:02 +00:00
Daniel Stenberg
dc659ec736 only build adig and ahost if 'make demos' is used 2004-02-16 16:27:18 +00:00
Daniel Stenberg
2d41efb71e don't assume we can use gcc 2.96+ options 2004-02-15 12:30:40 +00:00
Daniel Stenberg
3a36d4fdea removed usage of unset variables (by a function that does nothing!) 2004-02-13 12:28:27 +00:00
Daniel Stenberg
7f29bf61e2 install ares_version.h as well 2004-02-11 12:59:16 +00:00
Daniel Stenberg
9ca395fded Dirk Manske's fix to install ares_version.h as well 2004-02-11 12:58:43 +00:00
Daniel Stenberg
a271cfb697 include process.h to get the _getpid() proto 2004-02-05 12:19:13 +00:00
Daniel Stenberg
9c95ebcbe7 fixed "comparison between signed and unsigned" complaints 2004-02-04 10:24:23 +00:00
Daniel Stenberg
3a4ed71b88 don't use 'sin' as variable name as the picky compiler warnings complain
about it shadowing the function sin()
2004-02-04 10:23:15 +00:00
Daniel Stenberg
d6d312d550 fixing 2004-02-04 09:16:05 +00:00
Daniel Stenberg
1fa163fdf7 prevent a compiler warning about a macro definition 2004-02-04 08:04:28 +00:00
Daniel Stenberg
82b27d1b97 prevent the windows version to use global symbol names
added prototypes for the strcasecmp() functions
2004-02-04 08:00:25 +00:00
Daniel Stenberg
f7dee3b846 we use the more aggressive compiler warnings 2004-02-04 07:54:42 +00:00
Daniel Stenberg
a7b5045598 made more pointers unsigned, as they were mostly used passed in to functions
that assume them to be unsigned. Stops compiler warnings.
2004-02-04 07:52:13 +00:00
Daniel Stenberg
b7fda8ec73 typecast comparision between signed and unsigned 2004-02-04 07:51:30 +00:00
Daniel Stenberg
3d7f4c0d77 try_config() takes a second parameter as const, to prevent picky compiler
warnings
2004-02-04 07:50:51 +00:00
Daniel Stenberg
01771e50a1 takes a void *, not a char * anymore 2004-02-04 07:50:18 +00:00
Daniel Stenberg
c23cf6a058 ares_free_string() now takes a void * instead 2004-02-04 07:49:33 +00:00
Daniel Stenberg
79f9914af8 don't compare signed and unsigned 2004-02-04 07:48:46 +00:00
Daniel Stenberg
803fb123cb added a tags target 2004-02-04 07:48:20 +00:00
Daniel Stenberg
97728f5b1c new configure file 2004-02-04 07:48:00 +00:00
Daniel Stenberg
36d5f30b8c use configure.ac instead of configure.in
support --enable-debug to switch on picky compiler options
2004-02-04 07:47:04 +00:00
Daniel Stenberg
e82a575894 stop a compiler warning 2004-02-04 07:40:25 +00:00
Daniel Stenberg
fa1c0d4a56 libcares.a is here 2004-02-03 14:06:16 +00:00
Daniel Stenberg
14b36a8cba We now produce 'libcares.a' instead, to make it possible to have both c-ares
and the original ares installed in the same lib dir.
2004-02-03 13:58:08 +00:00
Daniel Stenberg
3f37ae471d add link to the new cares web site 2004-02-03 09:40:19 +00:00
Daniel Stenberg
9f4e682ca9 added notes about incompatible functions 2004-02-03 09:16:40 +00:00
Daniel Stenberg
5fc8d4da45 adjusted to the new single-parameter version of this function 2004-02-03 08:58:10 +00:00
Daniel Stenberg
4af66b70fc removed odd newline 2004-02-03 08:47:26 +00:00
Daniel Stenberg
e449aab0af modified *strerror() 2004-02-03 06:38:38 +00:00
Daniel Stenberg
462d1c5231 use the new single-argument ares_strerror() 2004-02-02 16:15:58 +00:00
Daniel Stenberg
1442fab4b6 remove rcsid stuff from c files, it serves no useful purpose 2004-02-02 15:59:35 +00:00
Daniel Stenberg
aa93e2e638 removed the silly second argument to ares_strerror()
This breaks the API and ABI with the existing ares library. We hereby require
the upcoming c-ares 1.0 for asynch name resolves!
2004-02-02 15:59:12 +00:00
Daniel Stenberg
3415ac3866 documented ares_version() 2004-01-29 12:07:48 +00:00
Daniel Stenberg
d50b209a7a return a const char * 2004-01-29 12:07:34 +00:00
Daniel Stenberg
62e0f10eba use the name 'c-ares' for this package 2004-01-29 11:33:31 +00:00
Daniel Stenberg
0b2b7439fe include the new README.cares 2004-01-29 11:33:16 +00:00
Daniel Stenberg
edcd1981ea point out that this is a forked project, all c-ares specific stuff is now
in README.cares
2004-01-29 11:32:45 +00:00
Daniel Stenberg
ada9a9f4a1 c-ares specific README, leaving most of the original README as-is 2004-01-29 11:32:24 +00:00
Daniel Stenberg
1c0e4f1178 cut off the initial blurb, moved that to README.cares 2004-01-29 11:32:01 +00:00
Daniel Stenberg
663d2080d1 Dirk Manske fixed a flaw in the setting of the socket to non-blocking 2004-01-29 11:23:36 +00:00
Daniel Stenberg
50c5a69d70 the gettimeofday fix 2004-01-04 12:20:37 +00:00
Daniel Stenberg
9ebe4ab60c Dominick Meglio's fix to make our private gettimeofday() use the ares_
namespace
2004-01-04 12:19:06 +00:00
Daniel Stenberg
b5d4a71883 c-ares is the new name and ares_version() was added 2003-10-24 20:30:14 +00:00
Daniel Stenberg
a9d74e6c97 Introducing ares_version(), so that we can have apps get version info about
what particular ares version that is being used.
2003-10-24 20:28:04 +00:00
Daniel Stenberg
3d59934163 ignore these too 2003-10-17 07:10:06 +00:00
Daniel Stenberg
5438ced6b3 name it pre1 2003-10-08 20:26:44 +00:00
Daniel Stenberg
2eb3ad7678 clarify why this package exists 2003-10-08 20:26:05 +00:00
Daniel Stenberg
b86ad6438e run autoconf if needed 2003-10-08 20:25:37 +00:00
Daniel Stenberg
81f250be59 ignore these files 2003-10-08 20:20:52 +00:00
Daniel Stenberg
9db5dfc15d added for completeness 2003-10-08 20:18:15 +00:00
Daniel Stenberg
377ce6a2c2 clarified the reason for this package 2003-10-08 20:18:01 +00:00
Daniel Stenberg
0436fbe226 ares 1.1.1 with collected applied patches 2003-10-07 21:54:04 +00:00