Commit Graph

4514 Commits

Author SHA1 Message Date
Daniel Stenberg
e5165af5a6 The MIPSPro compiler complains on constructs such as "(void)foo;" so
we avoid it where possible.
2004-02-06 07:59:16 +00:00
Daniel Stenberg
83e878420a Make sure DynaGetFunction() returns a function pointer, not a data pointer.
The standards don't actually allow typecasts between data and functions so
some picky compilers warn about this.
2004-02-06 07:28:49 +00:00
Daniel Stenberg
58a5f485db Remove the attempt to detect if we already tested the same source setup.
We really don't care, and so many other things could've changed to make the
new test interesting anyway.
2004-02-06 07:15:27 +00:00
Daniel Stenberg
e8fb77fac3 numerous things went in today 2004-02-05 21:52:53 +00:00
Daniel Stenberg
d292088a83 added the missing stdin section 2004-02-05 21:51:45 +00:00
Daniel Stenberg
de100f8b51 An attempt to only set both libz-related defines at the same time. We need
both the lib and the header present for both defines to be set. If only one
of the files is found, we issue a warning and set no define.
2004-02-05 21:40:05 +00:00
Daniel Stenberg
1cb2306ae0 Andrés García's updates 2004-02-05 21:03:53 +00:00
Daniel Stenberg
cc90a235f4 if an empty 'transfer-encoding:' header is provided, we switch off the
chunky coding of uploads
2004-02-05 15:50:16 +00:00
Daniel Stenberg
e97ce57d0b Made a test that sends data on stdin to PUT, with a given length and
chunked transfer-encoding disabled. Fixed to work after Len Krause's
bug report.
2004-02-05 15:21:46 +00:00
Daniel Stenberg
dc753b8315 Gisle Vanem fixed a windows compiler warning 2004-02-05 13:25:14 +00:00
Daniel Stenberg
a5c4442ebf changed the test() function to return type int 2004-02-05 12:34:17 +00:00
Daniel Stenberg
a271cfb697 include process.h to get the _getpid() proto 2004-02-05 12:19:13 +00:00
Daniel Stenberg
6dffe9702d when using --enable-debug and gcc, provide the -Wno-format-nonliteral option
to prevent the warning in mprintf.c:

(currently line 930) "format not a string literal, argument types not checked"
2004-02-05 10:38:32 +00:00
Daniel Stenberg
f71139750d options we get as longs need to be typecasted when assigned to prevent
picky compiler warnings
2004-02-05 09:38:56 +00:00
Daniel Stenberg
690b3e58b2 fix return type to silence compiler warnings 2004-02-05 09:38:10 +00:00
Daniel Stenberg
0c7cb0c10f prevent warning from that picky MIPSpro compiler 2004-02-05 09:37:46 +00:00
Daniel Stenberg
4816294f52 compiler warning fix, compare struct pointers of the same type 2004-02-05 09:37:04 +00:00
Daniel Stenberg
6587ff440a use the timeout options when waiting for the server to connect when using
PORT
Provide better error messages to allow debugging if one if the ipv6-related
name functions fail in the ftp_use_port() function. This might help us
diagnose the problems on AIX. Also make sure getaddrinfo() uses NULL and
not "0" for the service argument.
2004-02-05 09:26:01 +00:00
Daniel Stenberg
791e49134b hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor Arntsen 2004-02-05 08:34:31 +00:00
Daniel Stenberg
9254c3a103 Fix the socklen_t type too. Needed only when built with memory debugging
as then we include the memdebug.h header from the lib dir, and it then
requires this type... (fails on IRIX 6.5 without this)
2004-02-05 08:27:47 +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
773a8fe598 no one uses libcurl before 7.7 anyway... 2004-02-03 15:59:06 +00:00
Daniel Stenberg
fa1c0d4a56 libcares.a is here 2004-02-03 14:06:16 +00:00
Daniel Stenberg
7e01548d46 link with libcares instead of libares 2004-02-03 13:58:38 +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
1089d91e77 the configure and memdebug fixes of yday 2004-02-03 10:07:26 +00:00
Daniel Stenberg
556b68f44e the unused quit-function didn't pass a correct variable type to the
response reading function
2004-02-03 09:52:32 +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
95dd343244 added the missing ares numerical version initialiser 2004-02-03 06:39:37 +00:00
Daniel Stenberg
e449aab0af modified *strerror() 2004-02-03 06:38:38 +00:00
Daniel Stenberg
3a0192bea6 Use the nroff option figured out by the configure script. An attempt to
make this better on more systems.
2004-02-02 22:39:37 +00:00
Daniel Stenberg
37685848d1 try to figure out if -man or -mandoc works to get text with the NROFF
utility
2004-02-02 22:39:04 +00:00