platform/upstream/c-ares.git
20 years agominor fix for compiling on Linux.
Gunter Knauf [Sat, 3 Jul 2004 22:25:37 +0000 (22:25 +0000)]
minor fix for compiling on Linux.

20 years agoadded few ifdefs to make it usable for NetWare.
Gunter Knauf [Sat, 3 Jul 2004 21:48:42 +0000 (21:48 +0000)]
added few ifdefs to make it usable for NetWare.

20 years agoadded NetWare makefile.
Gunter Knauf [Sat, 3 Jul 2004 21:44:32 +0000 (21:44 +0000)]
added NetWare makefile.

20 years agodjgpp fixes by Gisle
Daniel Stenberg [Thu, 1 Jul 2004 13:55:13 +0000 (13:55 +0000)]
djgpp fixes by Gisle

20 years agoGisle's win32-fix. 'errno' is not used for errors when socket() fails on
Daniel Stenberg [Thu, 1 Jul 2004 13:54:24 +0000 (13:54 +0000)]
Gisle's win32-fix. 'errno' is not used for errors when socket() fails on
Windows.

20 years agoGisle added makefile for djgpp builds
Daniel Stenberg [Thu, 1 Jul 2004 13:53:13 +0000 (13:53 +0000)]
Gisle added makefile for djgpp builds

20 years agoGisle's djgpp magic
Daniel Stenberg [Thu, 1 Jul 2004 06:59:43 +0000 (06:59 +0000)]
Gisle's djgpp magic

20 years agoGisle Vanem made this build fine with djgpp and the Watt-32 stack.
Daniel Stenberg [Thu, 1 Jul 2004 06:58:47 +0000 (06:58 +0000)]
Gisle Vanem made this build fine with djgpp and the Watt-32 stack.

20 years agoprevent compiler warnings on non-win32 platforms
Daniel Stenberg [Mon, 14 Jun 2004 10:45:30 +0000 (10:45 +0000)]
prevent compiler warnings on non-win32 platforms

20 years agoGisle Vanem's init patch for Windows
Daniel Stenberg [Thu, 10 Jun 2004 13:11:32 +0000 (13:11 +0000)]
Gisle Vanem's init patch for Windows

20 years agofix
Daniel Stenberg [Tue, 8 Jun 2004 21:26:03 +0000 (21:26 +0000)]
fix

20 years agoJames Bursa fixed a RISC OS init issue, removed trailing whitespace
Daniel Stenberg [Tue, 8 Jun 2004 21:25:11 +0000 (21:25 +0000)]
James Bursa fixed a RISC OS init issue, removed trailing whitespace

20 years agofree() allocated memory when the ares search can't be made
Daniel Stenberg [Thu, 27 May 2004 07:10:36 +0000 (07:10 +0000)]
free() allocated memory when the ares search can't be made

20 years agoclear the domains and sortlist when the 'channel' is first created so that
Daniel Stenberg [Thu, 27 May 2004 07:10:02 +0000 (07:10 +0000)]
clear the domains and sortlist when the 'channel' is first created so that
we can compare if non-NULL elsewhere

20 years agobetter checks to avoid free(NULL)
Daniel Stenberg [Thu, 27 May 2004 07:09:21 +0000 (07:09 +0000)]
better checks to avoid free(NULL)

20 years agoJames Bursa's fix to prevent free(NULL) to occur
Daniel Stenberg [Thu, 27 May 2004 06:42:48 +0000 (06:42 +0000)]
James Bursa's fix to prevent free(NULL) to occur

20 years agoJames Bursa's patch to avoid free(NULL) (mainly because the libcurl memdebug
Daniel Stenberg [Thu, 13 May 2004 06:53:29 +0000 (06:53 +0000)]
James Bursa's patch to avoid free(NULL) (mainly because the libcurl memdebug
system thinks free(NULL) is badness)

20 years ago- Nico Stappenbelt reported that when processing domain and search lines in
Daniel Stenberg [Tue, 11 May 2004 21:12:10 +0000 (21:12 +0000)]
- 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.

20 years agodon't free(NULL)
Daniel Stenberg [Mon, 3 May 2004 09:17:49 +0000 (09:17 +0000)]
don't free(NULL)

20 years ago1.2.0
Daniel Stenberg [Tue, 13 Apr 2004 07:44:26 +0000 (07:44 +0000)]
1.2.0

20 years agoupdated to not include the msvc-generated files
Daniel Stenberg [Sun, 11 Apr 2004 06:33:02 +0000 (06:33 +0000)]
updated to not include the msvc-generated files

20 years agowhen checked out from CVS, run this to generate the proper scripts
Daniel Stenberg [Sun, 11 Apr 2004 06:32:41 +0000 (06:32 +0000)]
when checked out from CVS, run this to generate the proper scripts

20 years agowe're working on 1.2.0 now
Daniel Stenberg [Thu, 8 Apr 2004 18:10:03 +0000 (18:10 +0000)]
we're working on 1.2.0 now

20 years agomention the man page updates from the other day
Daniel Stenberg [Tue, 6 Apr 2004 15:12:50 +0000 (15:12 +0000)]
mention the man page updates from the other day

20 years agogenerated files, no need to keep in CVS
Daniel Stenberg [Mon, 5 Apr 2004 12:38:54 +0000 (12:38 +0000)]
generated files, no need to keep in CVS

20 years agoedits, mainly to make the generated html output nicer
Daniel Stenberg [Fri, 2 Apr 2004 09:56:01 +0000 (09:56 +0000)]
edits, mainly to make the generated html output nicer

20 years agominor edits
Daniel Stenberg [Fri, 2 Apr 2004 09:50:42 +0000 (09:50 +0000)]
minor edits

20 years agoDirk Manske's ares_cancel() function was added.
Daniel Stenberg [Thu, 1 Apr 2004 08:25:58 +0000 (08:25 +0000)]
Dirk Manske's ares_cancel() function was added.

20 years agoedited slightly, point out our new mailinglist
Daniel Stenberg [Thu, 1 Apr 2004 08:25:23 +0000 (08:25 +0000)]
edited slightly, point out our new mailinglist

20 years agoremind us about cvs tagging when we've built a release archive
Daniel Stenberg [Thu, 1 Apr 2004 08:23:26 +0000 (08:23 +0000)]
remind us about cvs tagging when we've built a release archive

20 years agoDominick Meglio man page fixes
Daniel Stenberg [Thu, 1 Apr 2004 06:10:56 +0000 (06:10 +0000)]
Dominick Meglio man page fixes

20 years agoDominick Meglio fixed a missing comma
Daniel Stenberg [Wed, 31 Mar 2004 06:10:40 +0000 (06:10 +0000)]
Dominick Meglio fixed a missing comma

20 years agoDominick Meglio's new ares_expand_string() function
Daniel Stenberg [Tue, 30 Mar 2004 09:06:42 +0000 (09:06 +0000)]
Dominick Meglio's new ares_expand_string() function

20 years agochanged the long to int typecasts to see if icc 8.0 complains less on this
Daniel Stenberg [Tue, 23 Mar 2004 08:42:01 +0000 (08:42 +0000)]
changed the long to int typecasts to see if icc 8.0 complains less on this

20 years agoignore aclocal.m4
Daniel Stenberg [Fri, 12 Mar 2004 08:57:10 +0000 (08:57 +0000)]
ignore aclocal.m4

20 years agoGisle Vanem improved build on Windows.
Daniel Stenberg [Wed, 10 Mar 2004 11:28:34 +0000 (11:28 +0000)]
Gisle Vanem improved build on Windows.

20 years agomingw has str(n)casecmp() functions
Daniel Stenberg [Tue, 9 Mar 2004 10:18:09 +0000 (10:18 +0000)]
mingw has str(n)casecmp() functions

20 years agotimezone dummy to build better on Windows - Gisle Vanem
Daniel Stenberg [Tue, 9 Mar 2004 09:47:51 +0000 (09:47 +0000)]
timezone dummy to build better on Windows - Gisle Vanem

20 years agoGisle Vanem fixed the bad argc check
Daniel Stenberg [Tue, 9 Mar 2004 09:43:30 +0000 (09:43 +0000)]
Gisle Vanem fixed the bad argc check

20 years agothis is generated, removed from CVS
Daniel Stenberg [Mon, 8 Mar 2004 16:29:45 +0000 (16:29 +0000)]
this is generated, removed from CVS

20 years agoattempted typecase to silence the MIPSpro warning:
Daniel Stenberg [Wed, 3 Mar 2004 13:03:35 +0000 (13:03 +0000)]
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))

20 years agoDirk Manske fixed the attempt to install the removed errmem manpage
Daniel Stenberg [Sun, 29 Feb 2004 18:39:31 +0000 (18:39 +0000)]
Dirk Manske fixed the attempt to install the removed errmem manpage

20 years agominor size_t fix to kill a warning
Daniel Stenberg [Fri, 27 Feb 2004 13:21:47 +0000 (13:21 +0000)]
minor size_t fix to kill a warning

20 years agoupdated the debug option function from curl's acinclude.m4
Daniel Stenberg [Fri, 27 Feb 2004 11:29:36 +0000 (11:29 +0000)]
updated the debug option function from curl's acinclude.m4

20 years agofixed a "comparison between signed and unsigned" warning
Daniel Stenberg [Thu, 26 Feb 2004 22:19:20 +0000 (22:19 +0000)]
fixed a "comparison between signed and unsigned" warning

20 years agominor fixes to avoid MIPSPro pedantic warnings
Daniel Stenberg [Thu, 26 Feb 2004 12:47:43 +0000 (12:47 +0000)]
minor fixes to avoid MIPSPro pedantic warnings

20 years agodon't mix int and size_t, it generates warnings!
Daniel Stenberg [Thu, 26 Feb 2004 12:45:29 +0000 (12:45 +0000)]
don't mix int and size_t, it generates warnings!

20 years agoadded the better debug option logic from curl by adding acinclude.m4 to the
Daniel Stenberg [Wed, 25 Feb 2004 14:32:39 +0000 (14:32 +0000)]
added the better debug option logic from curl by adding acinclude.m4 to the
configure stuff

20 years agoDon't check for HAVE_ defines in this header file, it is meant to be public
Daniel Stenberg [Wed, 25 Feb 2004 07:22:00 +0000 (07:22 +0000)]
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.

20 years agofix
Daniel Stenberg [Wed, 25 Feb 2004 07:17:31 +0000 (07:17 +0000)]
fix

20 years agoDan Fandrich fixed a minor flaw in Dominick's fix!
Daniel Stenberg [Wed, 25 Feb 2004 06:37:42 +0000 (06:37 +0000)]
Dan Fandrich fixed a minor flaw in Dominick's fix!

20 years agocheck for a few basic header files
Daniel Stenberg [Mon, 23 Feb 2004 16:20:42 +0000 (16:20 +0000)]
check for a few basic header files

20 years agoinclude sys/select.h
Daniel Stenberg [Mon, 23 Feb 2004 16:20:31 +0000 (16:20 +0000)]
include sys/select.h

20 years agoares_free_errmem is gone
Daniel Stenberg [Mon, 23 Feb 2004 13:35:28 +0000 (13:35 +0000)]
ares_free_errmem is gone

20 years agounused and now removed
Daniel Stenberg [Mon, 23 Feb 2004 13:33:18 +0000 (13:33 +0000)]
unused and now removed

20 years agomore int vs long/size_t fixes after icc compiler warnings
Daniel Stenberg [Mon, 23 Feb 2004 08:04:31 +0000 (08:04 +0000)]
more int vs long/size_t fixes after icc compiler warnings

20 years agomore int/long fixes after icc "remarks"
Daniel Stenberg [Mon, 23 Feb 2004 08:00:56 +0000 (08:00 +0000)]
more int/long fixes after icc "remarks"

20 years agonext_id is an unsigned short, typecast the assign to prevent picky compilers
Daniel Stenberg [Mon, 23 Feb 2004 07:57:44 +0000 (07:57 +0000)]
next_id is an unsigned short, typecast the assign to prevent picky compilers
to warn

20 years agotypecase the bitfiddling results since we get a long and we store an int,
Daniel Stenberg [Mon, 23 Feb 2004 07:55:58 +0000 (07:55 +0000)]
typecase the bitfiddling results since we get a long and we store an int,
they may not be of the size size

20 years agomake ares_expand_name() take a long * instead of an int *, since we do
Daniel Stenberg [Mon, 23 Feb 2004 07:52:20 +0000 (07:52 +0000)]
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

20 years agostrlen() returns a size_t, which might be larger than int on some platforms
Daniel Stenberg [Mon, 23 Feb 2004 07:46:59 +0000 (07:46 +0000)]
strlen() returns a size_t, which might be larger than int on some platforms

20 years agoDominick Meglio's fix for supporting multiple names in the Nameserver key
Daniel Stenberg [Sun, 22 Feb 2004 22:42:20 +0000 (22:42 +0000)]
Dominick Meglio's fix for supporting multiple names in the Nameserver key
on Windows.

20 years agothis code uses no long long, so we can have warnings about them
Daniel Stenberg [Sun, 22 Feb 2004 22:36:36 +0000 (22:36 +0000)]
this code uses no long long, so we can have warnings about them

20 years agocheck for standard headers when --enable-debug is used
Daniel Stenberg [Thu, 19 Feb 2004 09:33:59 +0000 (09:33 +0000)]
check for standard headers when --enable-debug is used

20 years agoI removed the socklen_t requirement from memdebug.h, so we don't need to
Daniel Stenberg [Wed, 18 Feb 2004 12:26:27 +0000 (12:26 +0000)]
I removed the socklen_t requirement from memdebug.h, so we don't need to
figure it out here anymore to build debug builds.

20 years agoThe --enable-debug option really requires this to be built as part of curl.
Daniel Stenberg [Wed, 18 Feb 2004 09:07:50 +0000 (09:07 +0000)]
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.

20 years agomemdebug build, 'make' no longer builds the demo tools
Daniel Stenberg [Tue, 17 Feb 2004 07:41:10 +0000 (07:41 +0000)]
memdebug build, 'make' no longer builds the demo tools

20 years ago'make all' also builds the demos
Daniel Stenberg [Tue, 17 Feb 2004 07:40:46 +0000 (07:40 +0000)]
'make all' also builds the demos

20 years agoinclude ares_private.h to make sure we get the memdebug stuff included
Daniel Stenberg [Tue, 17 Feb 2004 07:40:31 +0000 (07:40 +0000)]
include ares_private.h to make sure we get the memdebug stuff included

20 years agoIf CURLDEBUG is set we use the libcurl internal memdebug system to track
Daniel Stenberg [Tue, 17 Feb 2004 07:40:02 +0000 (07:40 +0000)]
If CURLDEBUG is set we use the libcurl internal memdebug system to track
memory leaks etc.

20 years agoonly build adig and ahost if 'make demos' is used
Daniel Stenberg [Mon, 16 Feb 2004 16:27:18 +0000 (16:27 +0000)]
only build adig and ahost if 'make demos' is used

20 years agodon't assume we can use gcc 2.96+ options
Daniel Stenberg [Sun, 15 Feb 2004 12:30:40 +0000 (12:30 +0000)]
don't assume we can use gcc 2.96+ options

20 years agoremoved usage of unset variables (by a function that does nothing!)
Daniel Stenberg [Fri, 13 Feb 2004 12:28:27 +0000 (12:28 +0000)]
removed usage of unset variables (by a function that does nothing!)

20 years agoinstall ares_version.h as well
Daniel Stenberg [Wed, 11 Feb 2004 12:59:16 +0000 (12:59 +0000)]
install ares_version.h as well

20 years agoDirk Manske's fix to install ares_version.h as well
Daniel Stenberg [Wed, 11 Feb 2004 12:58:43 +0000 (12:58 +0000)]
Dirk Manske's fix to install ares_version.h as well

20 years agoinclude process.h to get the _getpid() proto
Daniel Stenberg [Thu, 5 Feb 2004 12:19:13 +0000 (12:19 +0000)]
include process.h to get the _getpid() proto

20 years agofixed "comparison between signed and unsigned" complaints
Daniel Stenberg [Wed, 4 Feb 2004 10:24:23 +0000 (10:24 +0000)]
fixed "comparison between signed and unsigned" complaints

20 years agodon't use 'sin' as variable name as the picky compiler warnings complain
Daniel Stenberg [Wed, 4 Feb 2004 10:23:15 +0000 (10:23 +0000)]
don't use 'sin' as variable name as the picky compiler warnings complain
about it shadowing the function sin()

20 years agofixing
Daniel Stenberg [Wed, 4 Feb 2004 09:16:05 +0000 (09:16 +0000)]
fixing

20 years agoprevent a compiler warning about a macro definition
Daniel Stenberg [Wed, 4 Feb 2004 08:04:28 +0000 (08:04 +0000)]
prevent a compiler warning about a macro definition

20 years agoprevent the windows version to use global symbol names
Daniel Stenberg [Wed, 4 Feb 2004 08:00:25 +0000 (08:00 +0000)]
prevent the windows version to use global symbol names
added prototypes for the strcasecmp() functions

20 years agowe use the more aggressive compiler warnings
Daniel Stenberg [Wed, 4 Feb 2004 07:54:42 +0000 (07:54 +0000)]
we use the more aggressive compiler warnings

20 years agomade more pointers unsigned, as they were mostly used passed in to functions
Daniel Stenberg [Wed, 4 Feb 2004 07:52:13 +0000 (07:52 +0000)]
made more pointers unsigned, as they were mostly used passed in to functions
that assume them to be unsigned. Stops compiler warnings.

20 years agotypecast comparision between signed and unsigned
Daniel Stenberg [Wed, 4 Feb 2004 07:51:30 +0000 (07:51 +0000)]
typecast comparision between signed and unsigned

20 years agotry_config() takes a second parameter as const, to prevent picky compiler
Daniel Stenberg [Wed, 4 Feb 2004 07:50:51 +0000 (07:50 +0000)]
try_config() takes a second parameter as const, to prevent picky compiler
warnings

20 years agotakes a void *, not a char * anymore
Daniel Stenberg [Wed, 4 Feb 2004 07:50:18 +0000 (07:50 +0000)]
takes a void *, not a char * anymore

20 years agoares_free_string() now takes a void * instead
Daniel Stenberg [Wed, 4 Feb 2004 07:49:33 +0000 (07:49 +0000)]
ares_free_string() now takes a void * instead

20 years agodon't compare signed and unsigned
Daniel Stenberg [Wed, 4 Feb 2004 07:48:46 +0000 (07:48 +0000)]
don't compare signed and unsigned

20 years agoadded a tags target
Daniel Stenberg [Wed, 4 Feb 2004 07:48:20 +0000 (07:48 +0000)]
added a tags target

20 years agonew configure file
Daniel Stenberg [Wed, 4 Feb 2004 07:48:00 +0000 (07:48 +0000)]
new configure file

20 years agouse configure.ac instead of configure.in
Daniel Stenberg [Wed, 4 Feb 2004 07:47:04 +0000 (07:47 +0000)]
use configure.ac instead of configure.in
support --enable-debug to switch on picky compiler options

20 years agostop a compiler warning
Daniel Stenberg [Wed, 4 Feb 2004 07:40:25 +0000 (07:40 +0000)]
stop a compiler warning

20 years agolibcares.a is here
Daniel Stenberg [Tue, 3 Feb 2004 14:06:16 +0000 (14:06 +0000)]
libcares.a is here

20 years agoWe now produce 'libcares.a' instead, to make it possible to have both c-ares
Daniel Stenberg [Tue, 3 Feb 2004 13:58:08 +0000 (13:58 +0000)]
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.

20 years agoadd link to the new cares web site
Daniel Stenberg [Tue, 3 Feb 2004 09:40:19 +0000 (09:40 +0000)]
add link to the new cares web site

20 years agoadded notes about incompatible functions
Daniel Stenberg [Tue, 3 Feb 2004 09:16:40 +0000 (09:16 +0000)]
added notes about incompatible functions

20 years agoadjusted to the new single-parameter version of this function
Daniel Stenberg [Tue, 3 Feb 2004 08:58:10 +0000 (08:58 +0000)]
adjusted to the new single-parameter version of this function

20 years agoremoved odd newline
Daniel Stenberg [Tue, 3 Feb 2004 08:47:26 +0000 (08:47 +0000)]
removed odd newline

20 years agomodified *strerror()
Daniel Stenberg [Tue, 3 Feb 2004 06:38:38 +0000 (06:38 +0000)]
modified *strerror()

20 years agouse the new single-argument ares_strerror()
Daniel Stenberg [Mon, 2 Feb 2004 16:15:58 +0000 (16:15 +0000)]
use the new single-argument ares_strerror()