Daniel Stenberg
134cb66129
return int from test()
2004-02-19 13:00:05 +00:00
Daniel Stenberg
349a15b089
provide a test() proto
2004-02-19 12:59:57 +00:00
Daniel Stenberg
c14fa2c935
use a die and a log function to die and log texts
...
better detect test suite failures
remove the buildlog at exit
make a random buildlog file name, now in the same dir where the build dir
is created
checks if the ares build succeeded
2004-02-19 12:56:45 +00:00
Daniel Stenberg
6ca7af3419
remove the build.log too at exit, and also use the proper $pwd prefix
...
to find the files/dirs to remove so that it still works if we "die" after
having done a 'cd'
2004-02-19 12:10:07 +00:00
Daniel Stenberg
afa5924487
very minor phrase edit
2004-02-19 10:21:54 +00:00
Daniel Stenberg
bd63a557f3
fixes from the recent days
2004-02-19 10:21:43 +00:00
Daniel Stenberg
49aa798082
check for standard headers when --enable-debug is used
2004-02-19 09:33:59 +00:00
Daniel Stenberg
c6e5b67197
Doug Porter's patch that changes the order of preferences on how to find the
...
default netrc file. We now read and uses HOME _before_ we use getpwuid() to
better allow users to move around HOME to use different .netrc files without
having to rely on even blacker magic.
2004-02-19 09:22:00 +00:00
Daniel Stenberg
e7050f97c4
If --enable-debug is used and gcc, we figure out which version and then we
...
use as aggressive warning options as possible for the used compiler version.
2004-02-19 09:01:13 +00:00
Daniel Stenberg
b28f3d43bf
item 19 is considered fixed until we get to hear differently
...
item 25 is now dealt with using the curlx_ prefix, mentioned in detail here:
http://curl.haxx.se/mail/lib-2004-02/0215.html
2004-02-19 08:19:21 +00:00
Daniel Stenberg
edd467a12c
Use the strtoofft.h header file from the lib directory, as we are now
...
officially using library-code when building the app (at least for the platforms
that don't have a strtoll() on their own).
2004-02-19 08:13:20 +00:00
Daniel Stenberg
0bf1bd51c4
Remade to use curlx_-prefix. This means this function can be compiled and
...
linked separately by the application. This function is not provided by the
libcurl API. It can only be accessed by apps if they compile and use this
particular source code.
2004-02-19 08:12:13 +00:00
Daniel Stenberg
4cf70e3069
AIX and Tru64 have what Tor calls "horribly broken 'which' programs" so we
...
now scan the PATH ourself to find the path to (g)libtool
2004-02-18 16:16:13 +00:00
Daniel Stenberg
9efddfedab
removed some "jhrg" from comments
2004-02-18 15:28:56 +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
de681d3b8f
Made curl_accept() take a 'void *' instead of 'socklen_t *' in the 3rd
...
argument to also not force the casual includer to know about the socklen_t
type.
2004-02-18 12:22:56 +00:00
Daniel Stenberg
f33be3c313
Modified curl_accept() to take a 'void *' in the 2nd argument instead of
...
sockaddr *. This has the added benefit that source files that include
memdebug.h doesn't have to know about "sockaddr".
2004-02-18 12:18:33 +00:00
Daniel Stenberg
62a12b7faf
No longer uses the 'ret' variable in the plain ipv4-version of
...
my_getaddrinfo() (caused a warning by the IRIX MIPSPro compiler). Also
clarified the situation for the 3-arg version of gethostbyname_r() with a huge
comment.
2004-02-18 10:05:17 +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
abd7e32c66
simplified and better commented config.h include logic
2004-02-18 08:35:51 +00:00
Daniel Stenberg
e2b6a45cfa
Make sure dns cache timeout -1 really means forever, as it is documented to
...
be. Simply skip the pruning.
2004-02-18 07:56:18 +00:00
Daniel Stenberg
e0c0b2ba7d
fix the help text for --manual if built without manual
2004-02-17 13:46:00 +00:00
Daniel Stenberg
debbcf81bb
ignore more
2004-02-17 07:57:31 +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
09aa165942
support closesocket() for closing sockets as well, as then we can use this
...
code fine on ares!
2004-02-16 16:24:01 +00:00
Daniel Stenberg
f2fbb5f3d5
Make realloc() support NULL as pointer. Made to allow us to use these routines
...
to memdebug the ares stuff as well.
2004-02-16 16:23:19 +00:00
Daniel Stenberg
29bedfcf7f
item 24 fixed, edited a few issues
2004-02-16 15:27:40 +00:00
Daniel Stenberg
ccdaa0b51f
Make the 'areschannel' get created in the curl_easy_init() and re-use that
...
same channel during the whole curl handle's life until curl_easy_cleanup().
2004-02-16 15:24:22 +00:00
Daniel Stenberg
f516734941
updates
2004-02-16 13:36:08 +00:00
Daniel Stenberg
d53d33698c
verbose-fix, socks5-fix, dnscache-fix, configure-winmmlib-fix
2004-02-16 13:33:41 +00:00
Daniel Stenberg
39926181ea
Fix verbosconnect() when ipv6-enabled to not assume that conn->serv_addr
...
is a valid pointer, but instead always depend on the passed-in dns pointer.
This happens to be NULL when the connection is re-used...
2004-02-16 13:14:55 +00:00
Daniel Stenberg
8415b4a271
removed usage of a silly macro instead of the actual functions memcpy
...
and memset
2004-02-16 09:56:18 +00:00
Daniel Stenberg
e4916145ef
Jeff Lawson pointed out that we need to check for a '5' in the version field
...
to properly work with SOCKS5 proxies. I also included some ascii art describing
the SOCKS5 response, as RFC1928 describes. Jeff provided details in bug
report #741841 and here: http://curl.haxx.se/mail/lib-2004-02/0181.html
2004-02-16 07:33:30 +00:00
Daniel Stenberg
3ec605de67
Andrés García added a check for lwinmm for Mingw/sys
2004-02-15 22:34:58 +00:00
Daniel Stenberg
a7e04cac78
Mark the dns entry 'inuse' properly even when used from the cache. This
...
seems to correct some host cache screw-ups I could reproduce.
2004-02-15 16:57:53 +00:00
Daniel Stenberg
8ddc18a4f9
another case which should use CURLcode and not int
2004-02-15 13:58:57 +00:00
Daniel Stenberg
0d3aa8b7be
Use the was_iface variable when binding a socket locally, even if no
...
SO_BINDTODEVICE is present, to prevent compiler warnings about the variable
2004-02-15 13:55:24 +00:00
Daniel Stenberg
496bbceef1
bind interface and large file fixes
2004-02-15 13:51:07 +00:00
Daniel Stenberg
901edd32b5
recent fixes
2004-02-15 13:50:04 +00:00
Daniel Stenberg
0612c275a7
(void) functions we don't check the return code for
2004-02-15 13:48:50 +00:00
Daniel Stenberg
f3d91528a1
CURLcode/int cleanup to reduce IRIX warnings
...
Removed some dates/names in the comments.
2004-02-15 13:48:28 +00:00
Daniel Stenberg
f7fae23546
spell!
2004-02-15 13:47:32 +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
7abf2f44ec
in the socks code, make sure we receive Curl_read results in ints and
...
Curl_write in CURLcode, to keep the picky compilers happy
2004-02-13 12:42:37 +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
12b71e422f
return an int
2004-02-13 12:18:34 +00:00