aboutsummaryrefslogtreecommitdiff
path: root/lib/memdebug.c
AgeCommit message (Collapse)Author
2005-06-30use %p to printf pointers since %x doesn't work properly on tru64 for thisDaniel Stenberg
(and besides, we should be using the same %-code for all pointers)
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2004-10-13Set errno = ENOMEM on faild countcheck().Gisle Vanem
2004-06-24Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-05-05Gisle fixed: don't reference 'mem' if it's NULL.Daniel Stenberg
2004-05-05make the memlimit final NULL return get written to stderr as wellaDaniel Stenberg
2004-03-08store size as size_tDaniel Stenberg
use %zd when outputting size_t
2004-02-26Gisle Vanem's added support calloc()-debugging and outputting mode forDaniel Stenberg
fopen() as well.
2004-02-20Some compilers warn on completely empty source files, we provide a blankDaniel Stenberg
one to prevent that.
2004-02-18Made curl_accept() take a 'void *' instead of 'socklen_t *' in the 3rdDaniel Stenberg
argument to also not force the casual includer to know about the socklen_t type.
2004-02-18Modified curl_accept() to take a 'void *' in the 2nd argument instead ofDaniel Stenberg
sockaddr *. This has the added benefit that source files that include memdebug.h doesn't have to know about "sockaddr".
2004-02-16Make realloc() support NULL as pointer. Made to allow us to use these routinesDaniel Stenberg
to memdebug the ares stuff as well.
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-12-16use the curlassert() instead of custom checksDaniel Stenberg
2003-11-13don't log failed socket() callsDaniel Stenberg
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-08-14allow out-of-memory testing by setting a limit. That number of memoryDaniel Stenberg
allocation calls will succeed, the following will return NULL!
2003-06-26use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-05-21James Cone's efforts to add another netrc parsing "mode"Daniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2002-03-08detect fclose(NULL)Daniel Stenberg
2002-02-28more fancy alloc, we store the size in each allocated block so that weDaniel Stenberg
can destroy the full allocated area just before we free it
2002-02-28always allocates at least 64 bytes for real, and damages them before freeDaniel Stenberg
2002-02-20Nico Baggus' VMS tweaksDaniel Stenberg
2001-11-28fill memory with junk on malloc()Daniel Stenberg
2001-10-17the malloc debug system only logs data if the logfile FILE * is set, whichDaniel Stenberg
makes it easier to disable debug output when built with debug functions
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-09-07Added formatting sections for emacs and vimSterling Hughes
2001-08-14curl_memdebug takes a const argument nowDaniel Stenberg
2001-08-14const-ified lots of function argumentsDaniel Stenberg
2001-03-09uses socklen_t nowDaniel Stenberg
2001-03-02strdup() takes a const char * nowDaniel Stenberg
2001-01-05Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg
2001-01-03dual-license fixDaniel Stenberg
2000-12-19include unistd.h if present to prevent compiler warnings on close()Daniel Stenberg
2000-12-19Added fopen() and fclose() leak trackingDaniel Stenberg
2000-12-18fixed accept() for memory debuggingDaniel Stenberg
2000-12-14added socket() / sclose() checks to the memdebug systemDaniel Stenberg
2000-11-21uses the "internal" mprintf() routines for formatted outputDaniel Stenberg
2000-11-17now exits and alerts on bad uses of strdup() and free()Daniel Stenberg
2000-11-17now includes stdlib.hDaniel Stenberg
2000-10-25compiles on Linux nowDaniel Stenberg
2000-10-09added for memory leak debugging etcDaniel Stenberg