aboutsummaryrefslogtreecommitdiff
path: root/lib/mprintf.c
AgeCommit message (Collapse)Author
2012-12-28build: make use of 76 lib/*.h renamed filesYang Tse
76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
2011-09-02MemoryTracking: fix logging of free() calls done where Curl_safefree is calledYang Tse
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.
2011-07-26stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse
2011-04-27whitespace cleanup: no space first in conditionalsDaniel Stenberg
"if(a)" is our style, not "if( a )"
2011-04-27source cleanup: unify look, style and indent levelsDaniel Stenberg
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
2011-04-21Fix a couple of spelling errors in lib/Fabian Keil
Found with codespell.
2010-04-16dprintf_formatf: Value stored to 'left' is never readDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-20fix compiler warningYang Tse
2010-02-20fix compiler warningYang Tse
2010-02-04fix printf-style format stringsYang Tse
2009-04-21libcurl's memory.h renamed to curl_memory.hYang Tse
2008-09-13fix compiler warning: external declaration in primary source fileYang Tse
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-09-06remove unnecessary typecasting of realloc()Yang Tse
2008-08-24Remove debug tracing and nearly all changes introduced since revision 1.72Yang Tse
The effective result of this commit is revision 1.72 plus two changed lines. These can be viewed in http://cool.haxx.se/cvs.cgi/curl/lib/mprintf.c.diff?r1=1.72&r2=1.77
2008-08-24Debug trace curl_mprintf() on x86_64 and ia64 systems.Yang Tse
2008-08-24x86_64 fixesYang Tse
2008-08-24x86_64 fixesYang Tse
2008-08-24Test if type casting a 'signed int' to a 'signed long long' fails to do sign ↵Yang Tse
extension on x86_64.
2008-08-23explicit value assignment for comparison resultYang Tse
2008-08-23typecast constant in comparisonYang Tse
2008-08-22Improved curl_m*printf() integral data type size and signedness handlingYang Tse
2008-08-22cleanup the BOOL usageYang Tse
2008-08-21MSVC's __int64 data type is only available when _INTEGRAL_MAX_BITS >= 64Yang Tse
2008-08-21Fix a LONG_MIN and LLONG_MIN related bug in internal m*printf()Yang Tse
2008-08-21Fix one bug detected thanks to test case 557.Yang Tse
2008-08-21Some data type size adjustments.Yang Tse
2008-08-21Get rid of ENABLE_64BIT symbol definition and usage.Yang Tse
Improve HAVE_LONGLONG symbol description.
2008-08-11 s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/gYang Tse
2008-06-30made %llu work for printing unsigned long longs, added the generic curl sourceDaniel Stenberg
header
2007-11-20fix the treatment of the parameter-based precision, as in "%.*s%s" asDaniel Stenberg
previously the second %s would wrongly get the numerical argument that is used for the variable precision for the first %s...
2007-11-05removed space after if and while before the parenthesis for better source codeDaniel Stenberg
consistency
2007-08-09fixed a warning which MingW gcc 4.2.1.Gunter Knauf
2007-02-28proper symbol definition check for all AmigaOS flavoursYang Tse
2007-02-26Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-filesGisle Vanem
since they're already included through "setup.h".
2007-02-01compiler warning fixYang Tse
2006-10-17Avoid typecasting a signed char to an int when using is*() functions, as thatDaniel Stenberg
could very well cause a negate number get passed in and thus cause reading outside of the array usually used for this purpose. We avoid this by using the uppercase macro versions introduced just now that does some extra crazy typecasts to avoid byte codes > 127 to cause negative int values.
2006-07-06Undefine correct symbol.Gisle Vanem
2006-07-05Cludge fix for djgpp 2.03 or older; it doesn't have snprintf() etc.Gisle Vanem
So avoid using x_was_used().
2005-07-13Diego Casorran patches to make (lib)curl build fine on Amiga againDaniel Stenberg
2005-04-26Cory Nelson's work on nuking compiler warnings when building on x64 withDaniel Stenberg
VS2005.
2004-12-15Add 'const' to immutable arrays.Dan Fandrich
2004-12-14Removed fputc() prototype since it's already in stdio.hDan Fandrich
2004-11-08Un-do changes for WinCE; cdecl decoration is not needed.Gisle Vanem
Confirmed by Paul Nolan.
2004-11-02use ifdef not ifDaniel Stenberg
2004-11-02Paul Nolan fix to make libcurl build nicely on Windows CEDaniel Stenberg
2004-06-24Replaced all uses of sprintf() with the safer snprintf(). It is just aDaniel Stenberg
precaution to prevent mistakes to lead to buffer overflows.
2004-06-24Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
2004-05-12return faster when we "hit a wall" while printfingDaniel Stenberg