Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: make use of 76 lib/*.h renamed files | Yang Tse | 2012-12-28 | 1 | -1/+1 |
| | | | | | | 76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree. | ||||
* | setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h> | Yang Tse | 2012-12-14 | 1 | -5/+1 |
| | | | | Inclusion of top two most included header files now done in setup_once.h | ||||
* | Make Curl_safefree() macro assign NULL to given pointer when free'd | Yang Tse | 2011-09-15 | 1 | -1/+3 |
| | |||||
* | fix a bunch of MSVC compiler warnings | Yang Tse | 2011-09-03 | 1 | -1/+1 |
| | |||||
* | MemoryTracking: fix logging of free() calls done where Curl_safefree is called | Yang Tse | 2011-09-02 | 1 | -3/+15 |
| | | | | | | | | | | | | | | Just internal stuff... Curl_safefree is now a macro defined in memdebug.h instead of a function prototyped in url.h and implemented in url.c, so inclusion of url.h is no longer required in order to simply use Curl_safefree. Provide definition of macro WHILE_FALSE in setup_once.h in order to allow other macros such as DEBUGF and DEBUGASSERT, and code using it, to compile without 'conditional expression is constant' warnings. The WHILE_FALSE stuff fixes 150+ MSVC compiler warnings. | ||||
* | MemoryTracking: adjust initialization calling | Yang Tse | 2011-08-20 | 1 | -4/+2 |
| | | | | Calling of curl_memdebug() was still done with a pending free() | ||||
* | socketpair() usage tracking to allow fd leak detection | Yang Tse | 2011-07-29 | 1 | -0/+9 |
| | |||||
* | stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h | Yang Tse | 2011-07-26 | 1 | -4/+3 |
| | |||||
* | source cleanup: unify look, style and indent levels | Daniel Stenberg | 2011-04-27 | 1 | -3/+5 |
| | | | | | By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed. | ||||
* | remove the CVSish $Id$ lines | Daniel Stenberg | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | fix socket data type and logging format in debug tracking socket functions | Yang Tse | 2010-02-22 | 1 | -5/+8 |
| | |||||
* | update copyright year notice | Yang Tse | 2010-01-19 | 1 | -1/+1 |
| | |||||
* | Constantine Sapuntzakis enhancements to make memory tracking log file writing | Yang Tse | 2010-01-18 | 1 | -0/+1 |
| | | | | of messages atomic, on systems where an fwrite of a memory buffer is atomic. | ||||
* | Fix compiler warning: control reaches end of non-void function | Yang Tse | 2009-10-29 | 1 | -1/+1 |
| | |||||
* | Since the NSS lib closes the socket the memory tracking system wrongly gets a | Daniel Stenberg | 2009-10-28 | 1 | -0/+7 |
| | | | | | 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! | ||||
* | fixed typo. | Gunter Knauf | 2009-07-15 | 1 | -3/+3 |
| | |||||
* | sclose() function-like macro definition used to close a socket, | Yang Tse | 2009-06-19 | 1 | -3/+0 |
| | | | | | now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL config file preprocessor definitions. | ||||
* | Moved potential inclusion of system's malloc.h and memory.h header files to | Yang Tse | 2009-04-21 | 1 | -4/+1 |
| | | | | | setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively. | ||||
* | Move curl_dofreeaddrinfo() and curl_dofreeaddrinfo() | Yang Tse | 2008-10-30 | 1 | -1/+5 |
| | | | | | implementation from lib/hostip6.c to lib/curl_addrinfo.c and prototypes from lib/hostip.h to lib/curl_addrinfo.h | ||||
* | Disable tracking of fdopen() calls in the low-level memory leak tracking | Yang Tse | 2008-09-13 | 1 | -1/+3 |
| | | | | code when fdopen() is not available, to avoid compiler error. | ||||
* | Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS | James Housley | 2007-06-28 | 1 | -0/+4 |
| | | | | | file.c, but the debug interface was missing. This adds the routines needed to make the memory debuging work for fdopen(). | ||||
* | Update copyright year, since the file has been modified | Yang Tse | 2006-10-27 | 1 | -1/+1 |
| | |||||
* | Test HAVE_GETNAMEINFO definition before using GETNAMEINFO_XXX definitions. | Yang Tse | 2006-07-04 | 1 | -0/+4 |
| | |||||
* | Yang Tse fixed compiler warnings | Daniel Stenberg | 2005-11-13 | 1 | -0/+3 |
| | |||||
* | enable memory debugging on tru64 with ipv6 support by doing a little different | Daniel Stenberg | 2005-06-30 | 1 | -0/+8 |
| | | | | defining, since the system headers themselves redefine getaddrinfo | ||||
* | Updated the copyright year since changes have been this year. | Daniel Stenberg | 2005-03-31 | 1 | -1/+1 |
| | |||||
* | Changes for removing libcurl.def file on Win32. | Gisle Vanem | 2004-11-09 | 1 | -19/+21 |
| | | | | | Added "CURL_EXTERN" to memdebug.h functions. Cleaned up Makefile.vc6. | ||||
* | Major hostip.c cleanup and split into multiple files and easier #ifdef | Daniel Stenberg | 2004-04-26 | 1 | -2/+5 |
| | | | | usage. | ||||
* | Gisle Vanem's added support calloc()-debugging and outputting mode for | Daniel Stenberg | 2004-02-26 | 1 | -0/+2 |
| | | | | fopen() as well. | ||||
* | Made curl_accept() take a 'void *' instead of 'socklen_t *' in the 3rd | Daniel Stenberg | 2004-02-18 | 1 | -1/+1 |
| | | | | | argument to also not force the casual includer to know about the socklen_t type. | ||||
* | Modified curl_accept() to take a 'void *' in the 2nd argument instead of | Daniel Stenberg | 2004-02-18 | 1 | -2/+10 |
| | | | | | sockaddr *. This has the added benefit that source files that include memdebug.h doesn't have to know about "sockaddr". | ||||
* | support closesocket() for closing sockets as well, as then we can use this | Daniel Stenberg | 2004-02-16 | 1 | -0/+3 |
| | | | | code fine on ares! | ||||
* | undef accept before defining it, since AIX 5.2 has it as a define! | Daniel Stenberg | 2004-02-02 | 1 | -0/+1 |
| | |||||
* | Dan Fandrich's cleanup patch to make pedantic compiler options cause less | Daniel Stenberg | 2004-01-29 | 1 | -1/+5 |
| | | | | warnings. Minor edits by me. | ||||
* | updated year in the copyright string | Daniel Stenberg | 2004-01-07 | 1 | -1/+1 |
| | |||||
* | Gisle Vanem's IPv6-on-Windows patch applied! | Daniel Stenberg | 2003-10-14 | 1 | -3/+0 |
| | |||||
* | allow out-of-memory testing by setting a limit. That number of memory | Daniel Stenberg | 2003-08-14 | 1 | -0/+3 |
| | | | | allocation calls will succeed, the following will return NULL! | ||||
* | use CURLDEBUG | Daniel Stenberg | 2003-06-26 | 1 | -1/+1 |
| | |||||
* | Gisle Vanem's fix to get this working nicely on windows | Daniel Stenberg | 2003-03-15 | 1 | -0/+3 |
| | |||||
* | copyright year update in the source header | Daniel Stenberg | 2003-01-16 | 1 | -1/+1 |
| | |||||
* | prevent compiler warnings | Daniel Stenberg | 2002-10-28 | 1 | -0/+1 |
| | |||||
* | updated source code boilerplate/header | Daniel Stenberg | 2002-09-03 | 1 | -7/+7 |
| | |||||
* | copyright string (year) update | Daniel Stenberg | 2002-03-19 | 1 | -0/+22 |
| | |||||
* | Götz Babin-Ebell's OpenSSL ENGINE patch | Daniel Stenberg | 2001-12-17 | 1 | -0/+8 |
| | |||||
* | getaddrinfo() cleanups | Daniel Stenberg | 2001-10-04 | 1 | -0/+7 |
| | |||||
* | curl_memdebug takes a const argument now | Daniel Stenberg | 2001-08-14 | 1 | -1/+1 |
| | |||||
* | const-ified lots of function arguments | Daniel Stenberg | 2001-08-14 | 1 | -9/+10 |
| | |||||
* | Nico's VMS adjustment | Daniel Stenberg | 2001-08-06 | 1 | -0/+3 |
| | |||||
* | uses socklen_t now | Daniel Stenberg | 2001-03-09 | 1 | -1/+1 |
| | |||||
* | strdup() takes a const char * now | Daniel Stenberg | 2001-03-02 | 1 | -1/+1 |
| |