summaryrefslogtreecommitdiff
path: root/lib/mprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* copyright year update in the source headerDaniel Stenberg2003-01-161-274/+18
|
* maprintf() and vmaprintf() now work better when printfing "%s" with anDaniel Stenberg2002-05-211-6/+15
| | | | empty string
* fixed a long long mistakeDaniel Stenberg2002-02-181-3/+2
|
* #ifndef and #define magic to prevent compiler warnings when doing #if BLADaniel Stenberg2002-01-181-1/+10
| | | | where BLA is undefined
* cut off a big piece of comment and added a pointer to the Trio web pageDaniel Stenberg2002-01-181-67/+5
| | | | should anyone ever want a good printf() clone
* Eric Lavigne updatesDaniel Stenberg2001-11-271-3/+3
|
* made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as wellDaniel Stenberg2001-11-121-6/+0
|
* include setup.hDaniel Stenberg2001-11-121-3/+2
|
* looks nicer and is better compatible with older vim versionsSterling Hughes2001-10-111-2/+2
|
* Added formatting sections for emacs and vimSterling Hughes2001-09-071-0/+8
|
* extern declarations no longer done on windows (T. Bharath's patch)Daniel Stenberg2001-08-241-0/+2
|
* added const char * => char * typecastDaniel Stenberg2001-08-141-1/+1
|
* corrected dubious use of the same variable twice in a function call,Daniel Stenberg2001-08-141-1/+1
| | | | gcc 3.0 warned about it