Commit Graph

4762 Commits

Author SHA1 Message Date
Daniel Stenberg c30cb73a5b fread() returns a size_t 2004-03-08 12:56:18 +00:00
Daniel Stenberg b7c56594b3 use curl standard source formatting 2004-03-08 12:51:33 +00:00
Daniel Stenberg 2b700fae9d typecast enum to int to make it printf() properly 2004-03-08 12:51:13 +00:00
Daniel Stenberg ef783d8da7 variable type fixes 2004-03-08 12:48:09 +00:00
Daniel Stenberg a4f1833629 Moved the error message buffer into the glob struct as well. 2004-03-08 12:47:37 +00:00
Daniel Stenberg 2c756fa1d7 Commented the Curl_read() arguments. 2004-03-08 12:37:46 +00:00
Daniel Stenberg 385086b460 size_t/int fix 2004-03-08 12:37:11 +00:00
Daniel Stenberg 72a4715dff strlen() returns size_t 2004-03-08 12:36:54 +00:00
Daniel Stenberg 7e6043f04f we ignore the ICC warning 1419 as well 2004-03-08 11:37:12 +00:00
Daniel Stenberg 576be36249 waitconnect() takes the timeout argument as a long 2004-03-08 11:36:47 +00:00
Daniel Stenberg c52c592f4c store size as size_t
use %zd when outputting size_t
2004-03-08 11:33:49 +00:00
Daniel Stenberg d9ffd2f544 don't use 'register'
make strtol() returns get stored in long variables
don't mix size_t with int
2004-03-08 11:28:14 +00:00
Daniel Stenberg a684c51c9b size_t/int/long fixes 2004-03-08 08:38:29 +00:00
Daniel Stenberg 3fa4ac080e we must not only support long long for Largefile to work, we must have
a curl_off_t type that is larger than 4 bytes
2004-03-08 07:46:26 +00:00
Daniel Stenberg 9c8b2a9958 issue 12 fixed, the final known outstanding issue to be done before 7.11.1 2004-03-05 13:12:58 +00:00
Daniel Stenberg 498666bdc3 issue 12 fix 2004-03-05 12:54:18 +00:00
Daniel Stenberg 3d3612e252 another include to prevent warnings 2004-03-05 11:39:19 +00:00
Daniel Stenberg e9920d8a04 two fixes, one new mirror 2004-03-05 10:18:58 +00:00
Daniel Stenberg acc5096eef clonk 2004-03-05 10:14:46 +00:00
Daniel Stenberg 6717240650 more fixing to make the progress/getinfo stuff to work properly when doing
file: transfers too
2004-03-05 09:40:16 +00:00
Daniel Stenberg ef0a2c714b clearly tell that these are ftp response timeouts 2004-03-05 09:37:48 +00:00
Daniel Stenberg 2cd6403011 Major rewrite of the test HTTP server to allow more fancy features to make
better tests with the issue12-patch applied.
This change also includes Andrs Garca's win32-fixes.
Made the logging look better/more readable in sws.log
2004-03-05 08:32:11 +00:00
Daniel Stenberg 75e1483e0d 'make clean' should only remove the generated html files, index.html is not
one of them!
2004-03-05 08:01:55 +00:00
Daniel Stenberg 8a4532ca2d mention the D binding 2004-03-05 07:57:07 +00:00
Daniel Stenberg 13f98c5c18 Multiple updates, most of them being proper formatting to create nice html
links in the web pages, but also additional facts and removal of old crap.
2004-03-05 07:55:02 +00:00
Daniel Stenberg 30e71d54e0 issue 12 fix is pending and is working in devel
added issue 24 - fix the progress meter for large files on slow networks to
not wrap
2004-03-04 16:19:12 +00:00
Daniel Stenberg 465753c2de When following to a new URL, we must make sure to call Curl_done() first,
since the current connection must be taken care of properly before we move
on. Christopher R. Palmer reported a problem he found due to this mistake.
2004-03-04 16:13:33 +00:00
Daniel Stenberg e40392ac03 Andrs Garca's patch to prevent warnings while compiling with mingw, mainly
because it is now possible to have both WIN32 and HAVE_CONFIG_H defined.
2004-03-04 15:32:18 +00:00
Daniel Stenberg 1eb9fd6c4d use size_t for the data, but keep the protos use ssize_t to better fit
with the existing transfer.c code
2004-03-04 15:25:06 +00:00
Daniel Stenberg 78e47fbb5c include the proper header file too 2004-03-04 15:23:57 +00:00
Daniel Stenberg 2b59e90c54 fix progress data to be updated properly for file: transfers, as reported
by Jesse Noller
2004-03-04 15:12:12 +00:00
Daniel Stenberg 59a30e6d9b prevent harmless compiler warning 2004-03-04 12:57:12 +00:00
Daniel Stenberg e0287fea20 David Byron's version resource fix 2004-03-04 09:56:39 +00:00
Daniel Stenberg 4fbf3f16e2 new "version resource" file for windows builds 2004-03-04 09:56:17 +00:00
Daniel Stenberg de6433d5c2 show curl --version output as well 2004-03-03 14:46:37 +00:00
Daniel Stenberg 23ef66f33a largefile bit for the version_info and now winsock 1.1 only 2004-03-03 14:39:47 +00:00
Daniel Stenberg 2479e06848 David Byron's work on making libcurl only require winsock 1.1 on Windows
machines.
2004-03-03 13:32:56 +00:00
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