aboutsummaryrefslogtreecommitdiff
path: root/lib/mprintf.c
AgeCommit message (Collapse)Author
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
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-05-10the aprintf() versions now return NULL if _any_ alloc along the way failed,Daniel Stenberg
previously they could return a piece of the string, making it impossible for the caller to detect errors.
2004-05-05prevent warnings when using the gcc option -Wunreachable-codeDaniel Stenberg
2004-03-23stricter variable type usageDaniel Stenberg
2004-03-08don't use 'register'Daniel Stenberg
make strtol() returns get stored in long variables don't mix size_t with int
2004-03-01fixed the test code to workDaniel Stenberg
2004-03-01Support 'z' for size_t-sized integer printing, as in %zd or %zx.Daniel Stenberg
2004-02-26use %ld when printf()ing long variables (and removed use of 'register')Daniel Stenberg