Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-17 | mem-include-scan: verify memory #includes | Daniel Stenberg | |
If we use memory functions (malloc, free, strdup etc) in C sources in libcurl and we fail to include curl_memory.h or memdebug.h we either fail to properly support user-provided memory callbacks or the memory leak system of the test suite fails. After Ajit's report of a failure in the first category in http_proxy.c, I spotted a few in the second category as well. These problems are now tested for by test 1132 which runs a perl program that scans for and attempts to check that we use the correct include files if a memory related function is used in the source code. Reported by: Ajit Dhumale Bug: http://curl.haxx.se/mail/lib-2012-11/0125.html | |||
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 | |
2008-09-06 | remove unnecessary typecasting of malloc() | Yang Tse | |
2008-02-06 | Fix problem in strdup replacement when dealing with absolutely huge strings. | Yang Tse | |
2007-11-07 | if () => if() | Daniel Stenberg | |
while () => while() and some other minor re-indentings | |||
2007-05-01 | Use memcpy instead of strcpy to improve performance. | Dan Fandrich | |
2006-07-17 | Return NULL if argument is NULL. | Yang Tse | |
2006-07-11 | Moved strdup replacement from src/main.c into src/strdup.c so it's available | Dan Fandrich | |
in libcurl as well, if necessary. |