1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
Commit Graph

4611 Commits

Author SHA1 Message Date
Daniel Stenberg
0b1f7995c5 correct the input data structs 2004-02-23 09:01:08 +00:00
Daniel Stenberg
f35c28214e use size_t to keep strlen() results 2004-02-23 08:38:49 +00:00
Daniel Stenberg
35fd1365ae simplied how create_hostcache_id() is used, and also its function somewhat
cleared up some ssize_t/size_t mixups
2004-02-23 08:35:57 +00:00
Daniel Stenberg
f493081004 adjusted to the modified base64 protos 2004-02-23 08:24:53 +00:00
Daniel Stenberg
e1b5e15431 More size_t cleanups in the base64 functions. 2004-02-23 08:22:43 +00:00
Daniel Stenberg
1aba4c519b The base64 encode function now takes a size_t for size, not an int as
previously.
2004-02-23 08:07:55 +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
2e61fde07f argh, use single-quotes instead of double ones to make $Revision appear 2004-02-23 07:32:45 +00:00
Daniel Stenberg
41263f7d88 use the proper source header, and set the version string to this file's
revision number
2004-02-23 07:17:13 +00:00
Daniel Stenberg
02095ba0e1 cd back to the root path before removing the build dir, since some systems
refuse to remove the dir otherwise!
2004-02-23 07:08: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
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