History log of /curl/lib/memdebug.c (Results 76 – 100 of 128)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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 ...


Revision tags: curl-7_16_3
# 3fef839f 15-May-2007 Dan Fandrich

Added call to setvbuf (disabled by default for speed) to flush the
memdebug log file after every line and avoid losing the last few log
entries if curl crashes.


Revision tags: curl-7_16_2
# 3a634a27 21-Feb-2007 Yang Tse

curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h


# a1d59839 16-Feb-2007 Yang Tse

use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling


Revision tags: curl-7_16_1
# 1bcbe898 05-Nov-2006 Yang Tse

Prevent multiple initialization of memdebug configuration variables.

This was possible on debug c-ares enabled builds when both CURL_MEMDEBUG
and CARES_MEMDEBUG environment variables wer

Prevent multiple initialization of memdebug configuration variables.

This was possible on debug c-ares enabled builds when both CURL_MEMDEBUG
and CARES_MEMDEBUG environment variables were set. Leading to a file handle
leak even when both variables had the same value, and wierd test suite
results when different.

show more ...


Revision tags: curl-7_16_0, curl-7_15_6-prepipeline, curl-7_15_5, curl-7_15_4, curl-7_15_3, curl-7_15_2, curl-7_15_1, curl-7_15_0, curl-7_14_1, c-ares-1_3_0
# 701de67b 30-Jun-2005 Daniel Stenberg

use %p to printf pointers since %x doesn't work properly on tru64 for this
(and besides, we should be using the same %-code for all pointers)


Revision tags: curl-7_14_0, curl-7_13_2
# ab4086bc 31-Mar-2005 Daniel Stenberg

Updated the copyright year since changes have been this year.


Revision tags: curl-7_13_1, before_ftp_statemachine, curl-7_13_0, curl-7_12_3, curl-7_12_2
# 9deb76ce 13-Oct-2004 Gisle Vanem

Set errno = ENOMEM on faild countcheck().


Revision tags: curl-7_12_1
# c39858aa 24-Jun-2004 Daniel Stenberg

Source cleanups. The major one being that we now _always_ use a Curl_addrinfo
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.


Revision tags: pre-aifix, curl-7_12_0
# bbafb2eb 11-May-2004 Daniel Stenberg

curl_global_init_mem() allows the memory functions to be replaced.
memory.h is included everywhere for this.


# 32a9554c 05-May-2004 Daniel Stenberg

Gisle fixed: don't reference 'mem' if it's NULL.


# a331aa02 05-May-2004 Daniel Stenberg

make the memlimit final NULL return get written to stderr as wella


Revision tags: curl-7_11_2, c-ares-1_2_0, curl-7_11_1
# c52c592f 08-Mar-2004 Daniel Stenberg

store size as size_t
use %zd when outputting size_t


# 07de0ff0 26-Feb-2004 Daniel Stenberg

Gisle Vanem's added support calloc()-debugging and outputting mode for
fopen() as well.


# 44995d68 20-Feb-2004 Daniel Stenberg

Some compilers warn on completely empty source files, we provide a blank
one to prevent that.


# de681d3b 18-Feb-2004 Daniel Stenberg

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.


# f33be3c3 18-Feb-2004 Daniel Stenberg

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".


# f2fbb5f3 16-Feb-2004 Daniel Stenberg

Make realloc() support NULL as pointer. Made to allow us to use these routines
to memdebug the ares stuff as well.


# 4d17d687 29-Jan-2004 Daniel Stenberg

Dan Fandrich's cleanup patch to make pedantic compiler options cause less
warnings. Minor edits by me.


Revision tags: curl-7_11_0
# 053f6c85 07-Jan-2004 Daniel Stenberg

updated year in the copyright string


# 23a60416 16-Dec-2003 Daniel Stenberg

use the curlassert() instead of custom checks


# 776f0bd9 13-Nov-2003 Daniel Stenberg

don't log failed socket() calls


Revision tags: curl-7_10_8
# 749f5387 14-Oct-2003 Daniel Stenberg

Gisle Vanem's IPv6-on-Windows patch applied!


Revision tags: curl-7_10_7
# 02c78ecf 14-Aug-2003 Daniel Stenberg

allow out-of-memory testing by setting a limit. That number of memory
allocation calls will succeed, the following will return NULL!


Revision tags: curl-7_10_6
# 308bc9d9 26-Jun-2003 Daniel Stenberg

use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditions


123456