Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
of messages atomic, on systems where an fwrite of a memory buffer is atomic.
|
|
|
|
calloc() and realloc() function calls.
|
|
|
|
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!
|
|
|
|
|
|
|
|
don't have prototypes. They didn't serve any useful purpose here, anyway.
|
|
code when fdopen() is not available, to avoid compiler error.
|
|
|
|
|
|
|
|
while () => while()
and some other minor re-indentings
|
|
Improve "universal" alignment type in struct memdebug
|
|
file.c, but the debug interface was missing. This adds the routines needed
to make the memory debuging work for fdopen().
|
|
memdebug log file after every line and avoid losing the last few log
entries if curl crashes.
|
|
|
|
|
|
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.
|
|
(and besides, we should be using the same %-code for all pointers)
|
|
|
|
|
|
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.
|
|
memory.h is included everywhere for this.
|
|
|
|
|
|
use %zd when outputting size_t
|
|
fopen() as well.
|
|
one to prevent that.
|
|
argument to also not force the casual includer to know about the socklen_t
type.
|
|
sockaddr *. This has the added benefit that source files that include
memdebug.h doesn't have to know about "sockaddr".
|
|
to memdebug the ares stuff as well.
|
|
warnings. Minor edits by me.
|
|
|
|
|
|
|
|
|
|
allocation calls will succeed, the following will return NULL!
|
|
|
|
way for emacs, and vim users should provide a similar non-polluting style
|
|
|
|
|
|
|