aboutsummaryrefslogtreecommitdiff
path: root/lib/mprintf.c
AgeCommit message (Collapse)Author
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
2004-02-25disable the use of long double, we don't use itDaniel Stenberg
2004-02-25Based on a patch by Greg Hewgill I modified how long long is used, as weDaniel Stenberg
can use a 64bit type with MSVC that is a long long equivalent.
2004-02-21added some extra typecasts to prevent compiler warnings when convertingDaniel Stenberg
int to various types
2004-02-20No longer support Z as a flag to print size_t, it isn't used by libcurlDaniel Stenberg
and I doubt anyone else uses it. Better preprocessor magic for the O flag (for curl_off_t printing) to prevent compiler warnings.
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.
2004-01-22use curl_off_t instead of off_t!Daniel Stenberg
2004-01-05David J Meyer's large file support.Daniel Stenberg
2003-10-26snprintf() made a single-byte buffer overflow, as it could write a zeroDaniel Stenberg
outside its given buffer. Discovered and reported by James Bursa.
2003-08-19Respect HAVE_LONGLONG to support 'long long'Daniel Stenberg
2003-08-06fix the treatment of the variable width specifier '*', which caused a bugDaniel Stenberg
in the urlglobbing just now, fixed in the debian bug tracker as Bug#203827
2003-06-26use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16reverted bad header replacementDaniel Stenberg
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-05-21maprintf() and vmaprintf() now work better when printfing "%s" with anDaniel Stenberg
empty string
2002-02-18fixed a long long mistakeDaniel Stenberg
2002-01-18#ifndef and #define magic to prevent compiler warnings when doing #if BLADaniel Stenberg
where BLA is undefined
2002-01-18cut off a big piece of comment and added a pointer to the Trio web pageDaniel Stenberg
should anyone ever want a good printf() clone
2001-11-27Eric Lavigne updatesDaniel Stenberg
2001-11-12made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as wellDaniel Stenberg
2001-11-12include setup.hDaniel Stenberg