Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-09-03 | fix a bunch of MSVC compiler warnings | Yang Tse | |
2011-08-20 | MemoryTracking: adjust initialization calling | Yang Tse | |
Calling of curl_memdebug() was still done with a pending free() | |||
2011-08-17 | MemoryTracking: adjust curl_domalloc() and curl_dofree() memory filling | Yang Tse | |
Until 2011-08-17 libcurl's Memory Tracking feature also performed automatic malloc and free filling operations using 0xA5 and 0x13 values. Our own preinitialization of dynamically allocated memory might be useful when not using third party memory debuggers, but on the other hand this would fool memory debuggers into thinking that all dynamically allocated memory is properly initialized. As a default setting, libcurl's Memory Tracking feature no longer performs preinitialization of dynamically allocated memory on its own. If you know what you are doing, and really want to retain old behavior, you can achieve this compiling with preprocessor symbols CURL_MT_MALLOC_FILL and CURL_MT_FREE_FILL defined with appropriate values. | |||
2011-08-16 | MemoryTracking: make curl_docalloc() call calloc() avoiding our zero fill | Yang Tse | |
2011-07-29 | socketpair() usage tracking to allow fd leak detection | Yang Tse | |
2011-07-26 | stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h | Yang Tse | |
2010-03-24 | remove the CVSish $Id$ lines | Daniel Stenberg | |
2010-02-22 | fix socket data type and logging format in debug tracking socket functions | Yang Tse | |
2010-02-21 | fix compiler warning | Yang Tse | |
2010-02-20 | fix compiler warning | Yang Tse | |
2010-01-18 | Constantine Sapuntzakis enhancements to make memory tracking log file writing | Yang Tse | |
of messages atomic, on systems where an fwrite of a memory buffer is atomic. | |||
2009-11-18 | Fix compiler warning: ISO C90 forbids mixed declarations and code | Yang Tse | |
2009-11-18 | Make memory tracking system intolerant with zero sized malloc(), | Yang Tse | |
calloc() and realloc() function calls. | |||
2009-10-29 | Fix compiler warning: control reaches end of non-void function | Yang Tse | |
2009-10-28 | Since the NSS lib closes the socket the memory tracking system wrongly gets a | Daniel Stenberg | |
false positive on a leaked socket, so this introduces a way to tell the system that the socket is indeed closed without explicitly closing it! | |||
2009-05-02 | Use build-time configured curl_socklen_t instead of socklen_t | Yang Tse | |
2009-04-21 | libcurl's memory.h renamed to curl_memory.h | Yang Tse | |
2009-04-21 | remove unnecessary typecast | Yang Tse | |
2008-10-23 | Really old gcc doesn't like parenthesis around the names of functions that | Dan Fandrich | |
don't have prototypes. They didn't serve any useful purpose here, anyway. | |||
2008-09-13 | Disable tracking of fdopen() calls in the low-level memory leak tracking | Yang Tse | |
code when fdopen() is not available, to avoid compiler error. | |||
2008-09-13 | remove dead code portion inoperative long time ago | Yang Tse | |
2008-09-04 | fix print formatting string directives | Yang Tse | |
2008-05-14 | Move the CURLDEBUG check after setup.h so it can be set there if necessary. | Dan Fandrich | |
2007-11-07 | if () => if() | Daniel Stenberg | |
while () => while() and some other minor re-indentings | |||
2007-08-08 | Fix getsockname argument type | Patrick Monnerat | |
Improve "universal" alignment type in struct memdebug | |||
2007-06-28 | Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS | James Housley | |
file.c, but the debug interface was missing. This adds the routines needed to make the memory debuging work for fdopen(). | |||
2007-05-15 | Added call to setvbuf (disabled by default for speed) to flush the | Dan Fandrich | |
memdebug log file after every line and avoid losing the last few log entries if curl crashes. | |||
2007-02-21 | curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h | Yang Tse | |
2007-02-16 | use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling | Yang Tse | |
2006-11-05 | Prevent multiple initialization of memdebug configuration variables. | Yang Tse | |
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. | |||
2005-06-30 | use %p to printf pointers since %x doesn't work properly on tru64 for this | Daniel Stenberg | |
(and besides, we should be using the same %-code for all pointers) | |||
2005-03-31 | Updated the copyright year since changes have been this year. | Daniel Stenberg | |
2004-10-13 | Set errno = ENOMEM on faild countcheck(). | Gisle Vanem | |
2004-06-24 | Source cleanups. The major one being that we now _always_ use a Curl_addrinfo | Daniel Stenberg | |
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code. | |||
2004-05-11 | curl_global_init_mem() allows the memory functions to be replaced. | Daniel Stenberg | |
memory.h is included everywhere for this. | |||
2004-05-05 | Gisle fixed: don't reference 'mem' if it's NULL. | Daniel Stenberg | |
2004-05-05 | make the memlimit final NULL return get written to stderr as wella | Daniel Stenberg | |
2004-03-08 | store size as size_t | Daniel Stenberg | |
use %zd when outputting size_t | |||
2004-02-26 | Gisle Vanem's added support calloc()-debugging and outputting mode for | Daniel Stenberg | |
fopen() as well. | |||
2004-02-20 | Some compilers warn on completely empty source files, we provide a blank | Daniel Stenberg | |
one to prevent that. | |||
2004-02-18 | Made curl_accept() take a 'void *' instead of 'socklen_t *' in the 3rd | Daniel Stenberg | |
argument to also not force the casual includer to know about the socklen_t type. | |||
2004-02-18 | Modified curl_accept() to take a 'void *' in the 2nd argument instead of | Daniel Stenberg | |
sockaddr *. This has the added benefit that source files that include memdebug.h doesn't have to know about "sockaddr". | |||
2004-02-16 | Make realloc() support NULL as pointer. Made to allow us to use these routines | Daniel Stenberg | |
to memdebug the ares stuff as well. | |||
2004-01-29 | Dan Fandrich's cleanup patch to make pedantic compiler options cause less | Daniel Stenberg | |
warnings. Minor edits by me. | |||
2004-01-07 | updated year in the copyright string | Daniel Stenberg | |
2003-12-16 | use the curlassert() instead of custom checks | Daniel Stenberg | |
2003-11-13 | don't log failed socket() calls | Daniel Stenberg | |
2003-10-14 | Gisle Vanem's IPv6-on-Windows patch applied! | Daniel Stenberg | |
2003-08-14 | allow out-of-memory testing by setting a limit. That number of memory | Daniel Stenberg | |
allocation calls will succeed, the following will return NULL! | |||
2003-06-26 | use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditions | Daniel Stenberg | |