History log of /curl/lib/file.c (Results 126 – 150 of 237)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6cea5158 10-Sep-2008 Dan Fandrich

Checked in some code improvements and minor fixes that I discovered in the
FreeBSD ports system.


# a622fd90 06-Sep-2008 Yang Tse

remove unnecessary typecasting of calloc()


Revision tags: curl-7_19_0
# ad638da2 16-Aug-2008 Yang Tse

Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
remain in use as internal curl_off_t print formatting strings for the internal
*printf functions which still cannot

Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
remain in use as internal curl_off_t print formatting strings for the internal
*printf functions which still cannot handle print formatting string directives
such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
other DOS/Windows compilers.

This reverts previous commit part which did:

FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU

show more ...


# 66fb9ca5 15-Aug-2008 Yang Tse

For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
the names of the curl_off_t formatting string directives now become
CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF

For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
the names of the curl_off_t formatting string directives now become
CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU.

CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T
CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU

Remove the use of an internal name for the curl_off_t formatting string directives
and use the common one available from the inside and outside of the library.

FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU

show more ...


Revision tags: curl-7_18_2
# 791ad121 21-May-2008 Dan Fandrich

Renamed MSDOS_FILESYSTEM to avoid conflict with MIT GSS


# 1960eebc 22-Apr-2008 Dan Fandrich

Added support for running on Symbian OS.


# 09777a4f 17-Apr-2008 Dan Fandrich

Some trivial changes


Revision tags: curl-7_18_1
# b620e62f 31-Jan-2008 Daniel Stenberg

- Dmitry Kurochkin moved several struct fields from the connectdata struct to
the SingleRequest one to make pipelining better. It is a bit tricky to keep
them in the right place, to keep

- Dmitry Kurochkin moved several struct fields from the connectdata struct to
the SingleRequest one to make pipelining better. It is a bit tricky to keep
them in the right place, to keep things related to the actual request or to
the actual connection in the right place.

show more ...


Revision tags: curl-7_18_0
# a0420904 11-Jan-2008 Yang Tse

fix compiler warning


# 08adf679 11-Jan-2008 Daniel Stenberg

Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it
already worked for FTP:// URLs


# 662bee71 08-Dec-2007 Daniel Stenberg

All static functions that were previously name Curl_* something no longer
use that prefix as we use that prefix only for library-wide internal global
symbols.


# 13648f8c 24-Nov-2007 Daniel Stenberg

struct HandleData is now called struct SingleRequest, and is only for data that
is inited at the start of the DO action. I removed the Curl_transfer_keeper
struct completely, and I had to mov

struct HandleData is now called struct SingleRequest, and is only for data that
is inited at the start of the DO action. I removed the Curl_transfer_keeper
struct completely, and I had to move out a few struct members (that had to
be set before DO or used after DONE) to the UrlState struct. The SingleRequest
struct is accessed with SessionHandle->req.

One of the biggest reasons for doing this was the bunch of duplicate struct
members in HandleData and Curl_transfer_keeper since it was really messy to
keep track of two variables with the same name and basically the same purpose!

show more ...


# 50feea3e 15-Nov-2007 Daniel Stenberg

Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() into
do_init() and do_complete() which now are called first and last in the DO
function. It simplified the flow in m

Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() into
do_init() and do_complete() which now are called first and last in the DO
function. It simplified the flow in multi.c and the functions got more
sensible names!

show more ...


# cbd1a77e 07-Nov-2007 Daniel Stenberg

if () => if()
while () => while()
and some other minor re-indentings


# 59b05ac3 30-Oct-2007 Dan Fandrich

Fixed an OOM problem with file: URLs
Moved Curl_file_connect into the protocol handler struct.


Revision tags: curl-7_17_1
# b9a30598 23-Oct-2007 Yang Tse

File is not a protocol that can deal with "persistancy"


# 5b358603 22-Oct-2007 Daniel Stenberg

Michal Marek forwarded the bug report
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to
FTP that caused memory havoc. His work together with my efforts created two

Michal Marek forwarded the bug report
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to
FTP that caused memory havoc. His work together with my efforts created two
fixes:

#1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with
at connection cleanup, at which time the struct HandleData could be
used by another connection.
Also, the unused char *urlpath member is removed from struct FTP.

#2 - provide a Curl_reset_reqproto() function that frees
data->reqdata.proto.* on connection setup if needed (that is if the
SessionHandle was used by a different connection).

show more ...


# 92433e59 17-Oct-2007 Yang Tse

We use this ZERO_NULL to avoid picky compiler warnings,
when assigning a NULL pointer to a function pointer var.


# 61ffcd78 13-Oct-2007 Dan Fandrich

Made a few more functions static with the protocol handler table in place.


# 07b6e736 12-Oct-2007 Patrick Monnerat

Added per-protocol callback static tables, replacing callback ptr storage
in the connectdata structure by a single handler table ptr.


# 16b95fc7 27-Sep-2007 Dan Fandrich

Enabled a few more gcc warnings with --enable-debug. Renamed a few
variables to avoid shadowing global declarations.


Revision tags: curl-7_17_0
# 1b66c1da 29-Aug-2007 Dan Fandrich

Added lots of consts


# 91fd2c3b 22-Aug-2007 Daniel Stenberg

Bug report #1779751 (http://curl.haxx.se/bug/view.cgi?id=1779751) pointed
out that doing first a file:// upload and then an FTP upload crashed libcurl
or at best caused furious valgrind compl

Bug report #1779751 (http://curl.haxx.se/bug/view.cgi?id=1779751) pointed
out that doing first a file:// upload and then an FTP upload crashed libcurl
or at best caused furious valgrind complaints. Fixed now by making sure we
free and clear the file-specific struct properly when done with it.

show more ...


Revision tags: curl-7_17_0-preldapfix
# 5ecd56d9 23-Jul-2007 Dan Fandrich

Implemented only the parts of Patrick Monnerat's OS/400 patch that renamed
some few internal identifiers to avoid conflicts, which could be useful on
other platforms.


Revision tags: curl-7_16_4
# aed0cc6f 28-Jun-2007 James Housley

Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS
file.c, but the debug interface was missing. This adds the routines needed
to make the memory debuging work for f

Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS
file.c, but the debug interface was missing. This adds the routines needed
to make the memory debuging work for fdopen().

show more ...


12345678910