1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00
Commit Graph

4594 Commits

Author SHA1 Message Date
Daniel Stenberg
0ffec4272a the missing part of Gisle Vanem's connect-timeout fix for win32 2004-02-22 22:31:24 +00:00
Daniel Stenberg
ea4cd4d8aa -Wno-format-nonliteral does not exist in my gcc 2.96, only use that with
newer versions
2004-02-21 16:56:01 +00:00
Daniel Stenberg
c7775c59bf mention in --limit-rate that --speed-limit might ruin the limiting slightly. 2004-02-21 16:18:57 +00:00
Daniel Stenberg
243bd5bbb4 David Byron's fix to allow the speed-limit logic work even if you set
limit-rate. It does work on the expense of the rate limiter.
2004-02-21 15:08:21 +00:00
Daniel Stenberg
4bde770169 added some extra typecasts to prevent compiler warnings when converting
int to various types
2004-02-21 15:05:46 +00:00
Daniel Stenberg
9af7e46f72 inlcude krb4.h to get the proto for Curl_krb_kauth() to satisfy picky
compilers
2004-02-21 14:57:29 +00:00
Daniel Stenberg
7d844c430c Gisle Vanem brings name resolving timeout possibilities to windows people.
This works by magicly starting up a new thread that can be killed when the
timeout is reached. testtesttest!
2004-02-20 16:41:50 +00:00
Daniel Stenberg
4f953b6459 that icc attempt in configure 2004-02-20 16:29:57 +00:00
Daniel Stenberg
44995d6877 Some compilers warn on completely empty source files, we provide a blank
one to prevent that.
2004-02-20 16:22:47 +00:00
Daniel Stenberg
2ebc821558 Convert functions to ANSI-style declaration to prevent compiler warnings 2004-02-20 16:18:26 +00:00
Daniel Stenberg
907bb78f3e When the built-in manual is disabled, we generate a function doing nothing
just to avoid making a totally empty file. Just to avoid compiler warnings.
2004-02-20 15:39:37 +00:00
Daniel Stenberg
b2e1bf7e7d No longer support Z as a flag to print size_t, it isn't used by libcurl
and I doubt anyone else uses it.

Better preprocessor magic for the O flag (for curl_off_t printing) to prevent
compiler warnings.
2004-02-20 15:16:31 +00:00
Daniel Stenberg
7173a0f7b6 cool.haxx.se, no longer sourceforge 2004-02-20 13:09:35 +00:00
Daniel Stenberg
a49bebc74e Only use -Wstrict-prototypes with gcc 3.3 or later.
It is working with earlier versions, but when I use it with 3.0.3, I can't
get it to ignore errors in "system headers" with -isystem so we get
excessive amounts of warnings on SSL headers which is very annoying.
2004-02-20 10:11:50 +00:00
Daniel Stenberg
8777ba7e42 include sys/select.h to prevent picky compiler warnings when using select()
without proto
2004-02-20 08:51:43 +00:00
Daniel Stenberg
a39669198f we call the macro CURLMAX() isntead of MAX(), just because it turned up
it collides with another MAX define on some platforms (like netbsd 1.6.1)
2004-02-20 08:47:23 +00:00
Daniel Stenberg
2c0c75e345 oops, missed a define when I changed from Curl_ to curlx_ 2004-02-20 07:22:25 +00:00
Daniel Stenberg
236337ce86 fix protos to prevent warnings 2004-02-20 07:19:18 +00:00
Daniel Stenberg
224ccc780a added getpart.h for the spitout() proto 2004-02-20 07:19:01 +00:00
Daniel Stenberg
ccde85d198 %HTTPPORT supported in subVariables 2004-02-20 07:14:58 +00:00
Daniel Stenberg
9e7657d6ed mention what ports the test suite uses 2004-02-20 07:05:10 +00:00
Daniel Stenberg
7ac455fca3 When trying to see if there's a friendly http server on "our" port, we
only accept return code 7 to indicate that there's no server present.
2004-02-20 06:59:17 +00:00
Daniel Stenberg
e295cd759c -Wcast-align is a bit too annoying 2004-02-19 21:34:52 +00:00
Daniel Stenberg
a472cd9310 Anything that looks like gcc 5.0 or more is no longer treated as gcc. I hope
this will make us exclude icc 8.0 etc.
2004-02-19 21:32:19 +00:00
Daniel Stenberg
8794cb286b refer to FILEFORMAT 2004-02-19 21:21:12 +00:00
Daniel Stenberg
455b1af214 When --enable-debug is used, for every -I provided to $CPPFLAGS we add
a corresponding -isystem, if using gcc, to inhibit warnings on those
headers.
2004-02-19 19:25:11 +00:00
Daniel Stenberg
d765a00adb Tor Arntsen's tiny fix! 2004-02-19 16:24:22 +00:00
Daniel Stenberg
de37308722 if not yacc or bison is found, check if we *really* need it, and if we do
we bail out!
2004-02-19 15:58:58 +00:00
Daniel Stenberg
7729c63be0 fixed the no-ssl version to return int as well 2004-02-19 15:39:06 +00:00
Daniel Stenberg
eebcf90942 provide protos to the functions to prevent warnings 2004-02-19 13:03:04 +00:00
Daniel Stenberg
fa8ecd3d53 typecast the type to an int on return 2004-02-19 13:00:33 +00:00
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