summaryrefslogtreecommitdiff
path: root/lib/mprintf.c
Commit message (Collapse)AuthorAgeFilesLines
...
* typecast constant in comparisonYang Tse2008-08-231-1/+1
|
* Improved curl_m*printf() integral data type size and signedness handlingYang Tse2008-08-221-55/+53
|
* cleanup the BOOL usageYang Tse2008-08-221-29/+16
|
* MSVC's __int64 data type is only available when _INTEGRAL_MAX_BITS >= 64Yang Tse2008-08-211-1/+1
|
* Fix a LONG_MIN and LLONG_MIN related bug in internal m*printf()Yang Tse2008-08-211-9/+26
|
* Fix one bug detected thanks to test case 557.Yang Tse2008-08-211-2/+2
|
* Some data type size adjustments.Yang Tse2008-08-211-4/+7
|
* Get rid of ENABLE_64BIT symbol definition and usage.Yang Tse2008-08-211-18/+25
| | | | Improve HAVE_LONGLONG symbol description.
* s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/gYang Tse2008-08-111-1/+1
|
* made %llu work for printing unsigned long longs, added the generic curl sourceDaniel Stenberg2008-06-301-14/+27
| | | | header
* fix the treatment of the parameter-based precision, as in "%.*s%s" asDaniel Stenberg2007-11-201-1/+4
| | | | | previously the second %s would wrongly get the numerical argument that is used for the variable precision for the first %s...
* removed space after if and while before the parenthesis for better source codeDaniel Stenberg2007-11-051-68/+68
| | | | consistency
* fixed a warning which MingW gcc 4.2.1.Gunter Knauf2007-08-091-3/+3
|
* proper symbol definition check for all AmigaOS flavoursYang Tse2007-02-281-1/+1
|
* Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-filesGisle Vanem2007-02-261-1/+0
| | | | since they're already included through "setup.h".
* compiler warning fixYang Tse2007-02-011-5/+5
|
* Avoid typecasting a signed char to an int when using is*() functions, as thatDaniel Stenberg2006-10-171-1/+1
| | | | | | | | | 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.
* Undefine correct symbol.Gisle Vanem2006-07-061-1/+1
|
* Cludge fix for djgpp 2.03 or older; it doesn't have snprintf() etc.Gisle Vanem2006-07-051-0/+4
| | | | So avoid using x_was_used().
* Diego Casorran patches to make (lib)curl build fine on Amiga againDaniel Stenberg2005-07-131-0/+3
|
* Cory Nelson's work on nuking compiler warnings when building on x64 withDaniel Stenberg2005-04-261-4/+4
| | | | VS2005.
* Add 'const' to immutable arrays.Dan Fandrich2004-12-151-5/+5
|
* Removed fputc() prototype since it's already in stdio.hDan Fandrich2004-12-141-4/+0
|
* Un-do changes for WinCE; cdecl decoration is not needed.Gisle Vanem2004-11-081-14/+3
| | | | Confirmed by Paul Nolan.
* use ifdef not ifDaniel Stenberg2004-11-021-1/+1
|
* Paul Nolan fix to make libcurl build nicely on Windows CEDaniel Stenberg2004-11-021-3/+15
|
* Replaced all uses of sprintf() with the safer snprintf(). It is just aDaniel Stenberg2004-06-241-397/+404
| | | | precaution to prevent mistakes to lead to buffer overflows.
* Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg2004-06-241-62/+48
| | | | | linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
* return faster when we "hit a wall" while printfingDaniel Stenberg2004-05-121-13/+22
|
* curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg2004-05-111-2/+1
| | | | memory.h is included everywhere for this.
* the aprintf() versions now return NULL if _any_ alloc along the way failed,Daniel Stenberg2004-05-101-3/+10
| | | | | previously they could return a piece of the string, making it impossible for the caller to detect errors.
* prevent warnings when using the gcc option -Wunreachable-codeDaniel Stenberg2004-05-051-5/+11
|
* stricter variable type usageDaniel Stenberg2004-03-231-5/+6
|
* don't use 'register'Daniel Stenberg2004-03-081-13/+21
| | | | | make strtol() returns get stored in long variables don't mix size_t with int
* fixed the test code to workDaniel Stenberg2004-03-011-18/+13
|
* Support 'z' for size_t-sized integer printing, as in %zd or %zx.Daniel Stenberg2004-03-011-5/+6
|
* use %ld when printf()ing long variables (and removed use of 'register')Daniel Stenberg2004-02-261-3/+4
|
* disable the use of long double, we don't use itDaniel Stenberg2004-02-251-1/+1
|
* Based on a patch by Greg Hewgill I modified how long long is used, as weDaniel Stenberg2004-02-251-13/+22
| | | | can use a 64bit type with MSVC that is a long long equivalent.
* added some extra typecasts to prevent compiler warnings when convertingDaniel Stenberg2004-02-211-4/+4
| | | | int to various types
* No longer support Z as a flag to print size_t, it isn't used by libcurlDaniel Stenberg2004-02-201-6/+7
| | | | | | | and I doubt anyone else uses it. Better preprocessor magic for the O flag (for curl_off_t printing) to prevent compiler warnings.
* Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg2004-01-291-0/+2
| | | | warnings. Minor edits by me.
* use curl_off_t instead of off_t!Daniel Stenberg2004-01-221-2/+5
|
* David J Meyer's large file support.Daniel Stenberg2004-01-051-1/+8
|
* snprintf() made a single-byte buffer overflow, as it could write a zeroDaniel Stenberg2003-10-261-18/+15
| | | | outside its given buffer. Discovered and reported by James Bursa.
* Respect HAVE_LONGLONG to support 'long long'Daniel Stenberg2003-08-191-11/+7
|
* fix the treatment of the variable width specifier '*', which caused a bugDaniel Stenberg2003-08-061-0/+1
| | | | in the urlglobbing just now, fixed in the debian bug tracker as Bug#203827
* use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg2003-06-261-1/+1
|
* removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg2003-01-291-8/+0
| | | | way for emacs, and vim users should provide a similar non-polluting style
* reverted bad header replacementDaniel Stenberg2003-01-161-18/+274
|