Commit Graph

4725 Commits

Author SHA1 Message Date
Daniel Stenberg
f2abe03fcf three days of changes 2004-03-03 13:30:18 +00:00
Daniel Stenberg
5e7f1a0eaf more variable type cleanups 2004-03-03 13:24:14 +00:00
Daniel Stenberg
eb9383d49b our timeout values are longs while 'tv_sec' is int 2004-03-03 13:17:44 +00:00
Daniel Stenberg
817d17354e make the backup variable of the same kind as the data it backups! ;-) 2004-03-03 13:12:30 +00:00
Daniel Stenberg
88e226c686 some more size_t usage, and two added typecasts when converting from size_t
to long (MIPSpro warnings)
2004-03-03 13:11:28 +00:00
Daniel Stenberg
9116dd41bd tv_sec is an int, so we explicitly typecast the result of long - long to
an int when we assign it.
2004-03-03 13:07:32 +00:00
Daniel Stenberg
213d64fbd7 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))
2004-03-03 13:03:35 +00:00
Daniel Stenberg
a8419d68b6 #ifdef #define #undef circus to prevent compiler warnings on #if operations
with undefined variables.
2004-03-03 12:37:15 +00:00
Daniel Stenberg
87a1c7033e removed include stuff now handled by test.h 2004-03-03 10:09:30 +00:00
Daniel Stenberg
6e3fa90c9e We let this file include more generic headers that many libtests need anyway
to reduce the amount of #include stuff in each single libNNN.c file.
unistd.h was added to prevent select() warnings on FreeBSD
2004-03-03 10:09:16 +00:00
Daniel Stenberg
b2ef40731a Tom Bates' adjustment to build on his nsr-tandem-nsk. 2004-03-03 09:27:18 +00:00
Daniel Stenberg
e2f7030202 rename struct FILE to FILEPROTO, to prevent it from causing trouble with
the plain old FILE typedef.
2004-03-03 09:25:59 +00:00
Daniel Stenberg
533519cc9c Dan Fandrich fixed some GSS detection flaws 2004-03-03 09:16:36 +00:00
Daniel Stenberg
7c85be9435 corrected the reuse_fresh condition 2004-03-02 14:00:44 +00:00
Daniel Stenberg
89829093ca large file in jan 2004 2004-03-02 10:22:05 +00:00
Daniel Stenberg
7cb10a1853 various updates 2004-03-02 10:08:04 +00:00
Daniel Stenberg
33d67c68de two items fixed, one so old I don't think its valid anymore 2004-03-02 10:07:47 +00:00
Daniel Stenberg
e46b5719f2 display src/config.h as well after configure as run 2004-03-02 09:50:37 +00:00
Daniel Stenberg
353f764119 Yet another curl_off_t printf format attempt, we now exclude the %-letter from
FORMAT_OFF_T to allow additional options to get specified, like with '"%5"
FORMAT_OFF_T'.
2004-03-02 09:31:18 +00:00
Daniel Stenberg
9f437269fb Define CURL_NO_OLDIES to prevent us from getting obsolete stuff defined. 2004-03-02 09:13:28 +00:00
Daniel Stenberg
45391178c9 CURLOPT_MUTE is obsolete since a long while, we don't need to set it! 2004-03-02 09:11:52 +00:00
Daniel Stenberg
eddeb49fb6 clean the html and pdf files 2004-03-02 08:28:23 +00:00
Daniel Stenberg
7ab3b5b3bb use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity of
having to redef that name
2004-03-02 07:25:39 +00:00
Daniel Stenberg
00d5f886e3 - we switch to simply use FORMAT_OFF_T internally
- Also, we must not assume that SIZEOF_CURL_OFF_T is defined, as this file
gets included from the ares dir at times and then it isn't defined.
2004-03-02 07:25:08 +00:00
Daniel Stenberg
49daeaf805 the CURLOPT_FRESH_CONNECT fix 2004-03-01 16:32:51 +00:00
Daniel Stenberg
d03fbf5dfb a fair day's work! 2004-03-01 16:30:59 +00:00
Daniel Stenberg
cb72a80fe0 Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables. 2004-03-01 16:28:00 +00:00
Daniel Stenberg
71d81f1f75 Now uses CURL_FORMAT_OFF_T instead of %Od
Fixed the check for bad resumes. Made test case 99 work and proved a bug
in test case ... eh, was it 32?
2004-03-01 16:27:34 +00:00
Daniel Stenberg
b0c51d198c large_file is a new feature we can require for a specific test 2004-03-01 16:25:24 +00:00
Daniel Stenberg
71335e5b99 support 'large_file' as a feature to require for specific tests (such as
test 99)
2004-03-01 16:24:54 +00:00
Daniel Stenberg
c9b23ca055 check for CURL_VERSION_LARGEFILE in the feature bitmask 2004-03-01 16:24:26 +00:00
Daniel Stenberg
7983ec84a7 set CURL_VERSION_LARGEFILE if we support large files 2004-03-01 16:24:04 +00:00
Daniel Stenberg
8cb2a68694 define ENABLE_64BIT if we have enabled 64bit large files
define our internal CURL_FORMAT_OFF_T define, we don't use the global one!
2004-03-01 16:23:35 +00:00
Daniel Stenberg
485122035c fixed the test code to work 2004-03-01 16:22:17 +00:00
Daniel Stenberg
5c4dba1418 * Added CURL_VERSION_LARGEFILE
* If CURL_NO_OLDIES is defined, we hide all obsolete functions/options.

* CURL_FORMAT_OFF_T is defined for portable printf()ing of curl_off_t types
(although not with curl_mprintf()!)
2004-03-01 16:20:20 +00:00
Daniel Stenberg
d6eb28400b added test 99, very basic initial large file test 2004-03-01 16:18:40 +00:00
Daniel Stenberg
526c61c657 global dns cache is not nice, we consider it obsolete starting now 2004-03-01 15:50:15 +00:00
Daniel Stenberg
fd6ec05916 Ignore the dreaded aclocal warnings on underquoted definitions that the
recent autoconf annoyingly introduced.
2004-03-01 13:14:26 +00:00
Daniel Stenberg
6789dfc5f5 Perhaps -Wundef is better on gcc versions after 2.95, since the autobuild
on FreeBSD gives us lots of warnings in system headers and I suspect this
option is what causes them!
2004-03-01 13:10:35 +00:00
Daniel Stenberg
193a652e6a When setting aggressive pedantic compiler options, display what options
that were set. For easier debugging/changing of this.
2004-03-01 13:02:34 +00:00
Daniel Stenberg
4d12be9867 removed an unnecessary shift and splut up som weird two-statements-per-line
code
2004-03-01 12:54:59 +00:00
Daniel Stenberg
87e7f4f688 Use the z-option to printf %d for size_t printf. z is supported by the
libcurl *printf and by Linux printf(). This should make the code work nicely
even for 64bit size_ts.
2004-03-01 12:45:12 +00:00
Daniel Stenberg
5eeaff8235 Support 'z' for size_t-sized integer printing, as in %zd or %zx. 2004-03-01 12:44:07 +00:00
Daniel Stenberg
7d2e872828 Only consider the fresh-connection option on the first connection made, not
on followed redirections etc. This should fix the bug #905365, which caused
NTLM to fail with the option set.
2004-03-01 09:43:42 +00:00
Daniel Stenberg
097938e6c8 Moved two 7.11.2 issues over to the more general TODO docs. 2004-03-01 09:08:52 +00:00
Daniel Stenberg
d57b84e290 minor spellfix 2004-03-01 08:54:22 +00:00
Daniel Stenberg
fcc07bed90 intend the top-level blurb to make it easier to discard it from the web
site output
2004-03-01 08:50:28 +00:00
Daniel Stenberg
43bda5cd17 Tor and David 2004-03-01 08:20:21 +00:00
Daniel Stenberg
45c7f064d4 mention how to make a curl handle use the share 2004-03-01 08:02:50 +00:00
Daniel Stenberg
4dfc0a78e7 Only attempt to send the FTP QUIT command if we actually have a FTP struct. 2004-03-01 07:59:25 +00:00