Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2003-01-29 | removed the local variables for emacs and vim, use the new sample.emacs | Daniel Stenberg | |
way for emacs, and vim users should provide a similar non-polluting style | |||
2003-01-16 | copyright year update in the source header | Daniel Stenberg | |
2002-09-03 | updated source code boilerplate/header | Daniel Stenberg | |
2002-05-21 | James Cone's efforts to add another netrc parsing "mode" | Daniel Stenberg | |
2002-03-19 | copyright string (year) update | Daniel Stenberg | |
2002-03-08 | detect fclose(NULL) | Daniel Stenberg | |
2002-02-28 | more fancy alloc, we store the size in each allocated block so that we | Daniel Stenberg | |
can destroy the full allocated area just before we free it | |||
2002-02-28 | always allocates at least 64 bytes for real, and damages them before free | Daniel Stenberg | |
2002-02-20 | Nico Baggus' VMS tweaks | Daniel Stenberg | |
2001-11-28 | fill memory with junk on malloc() | Daniel Stenberg | |