lib/vasnprintf.c


Log

Author Commit Date CI Message
Bruno Haible a4ce14d5 2008-03-30T18:29:39 Fix buffer overrun.
Bruno Haible dac3bbf9 2008-03-30T15:18:13 Use module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C code.
Bruno Haible 67271ef2 2008-03-30T14:09:00 Fix a bug in unistdio routines, introduced on 2007-06-10.
Bruno Haible ba739e56 2008-02-08T02:32:48 Don't use %n on native Woe32 systems, to avoid a crash on Windows Vista systems.
Bruno Haible 6cad9c91 2008-02-07T02:08:13 Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
Bruno Haible e302472d 2008-02-06T23:58:36 Fix bug introduced on 2007-06-10.
Jim Meyering f7a926a4 2008-01-29T10:32:15 vasnprintf.c: Avoid warning about unused label * lib/vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Guard the "overflow" label definition and associated code with the same cpp condition that guards the sole use of that label.
Bruno Haible b17d7ac7 2008-01-26T15:17:58 Rename isnan, applicable to 'double' only, to isnand.
Bruno Haible c874d16f 2007-11-26T21:13:57 Don't abort if the 'long double' type has excess precision.
Bruno Haible b5ff17ff 2007-11-09T12:59:46 Document and work around a BeOS snprintf() bug.
Bruno Haible 01e8ce7e 2007-11-09T12:52:05 Fix inefficiency introduced on 2007-11-03.
Bruno Haible a073116c 2007-11-06T00:41:57 Fix the processing of finite numbers with the 'a' and 'A' directives.
Bruno Haible 93a05f89 2007-11-04T22:43:31 Undefine two macros after they are not needed any more.
Bruno Haible 474d4b34 2007-11-04T17:19:42 Fix *printf behaviour for large precisions on mingw and BeOS.
Bruno Haible 94f364ff 2007-11-04T15:00:15 Fix output of floating-point values with large exponent.
Bruno Haible 7cd87873 2007-11-03T16:52:20 Fix *printf behaviour in out-of-memory situations on MacOS X and *BSD.
Bruno Haible 6c48d015 2007-11-03T15:22:52 Fix detection of overflow: don't assume that snprintf is C99 compliant.
Bruno Haible 612e810f 2007-11-03T12:40:53 Fix out-of-memory handling of vasnprintf.
Bruno Haible 49a0e39c 2007-10-20T14:56:19 Don't report an unjustified overflow error.
Bruno Haible 913c09be 2007-10-19T01:50:42 Don't use %n on glibc >= 2.3 systems.
Bruno Haible 22c449ec 2007-07-14T00:09:08 Fix a #if error that causes a build failure on Linux/PowerPC with glibc-2.3.6.
Bruno Haible cce88f34 2007-06-11T01:10:07 Add support for Unicode strings (both as output format and as arguments to the %U directive).
Bruno Haible 790c99d3 2007-06-10T12:02:55 Tweak the size computations and reallocations.
Bruno Haible 8f71f4a4 2007-06-10T11:18:49 Tweak last patch.
Bruno Haible 47feb4d5 2007-06-09T23:32:28 More type parameters.
Bruno Haible dbb309c3 2007-06-06T01:46:06 Do the extra handling of NaN and Inf also the %a / %A. Swap two code blocks.
Bruno Haible 8445b64d 2007-06-06T01:36:14 Fix possible compilation error.
Bruno Haible 17ccaa9d 2007-05-22T01:07:46 Stricter check for printf result for NaN arguments.
Bruno Haible 82485375 2007-05-20T09:01:48 Fix *printf result for NaN, Inf on AIX, Solaris, OSF/1.
Bruno Haible 373c44dc 2007-05-19T20:30:58 Fix a warning in last patch.
Bruno Haible 118b9d3f 2007-05-19T14:52:36 Fix *printf result for NaN, Inf, -0.0 on mingw.
Bruno Haible ec3cec6e 2007-05-19T09:47:36 Optimize the case of huge precision.
Bruno Haible dd6ceef6 2007-05-19T00:38:42 Fix logic bug introduced on 2007-05-06.
Bruno Haible 7f5e623b 2007-05-18T23:35:38 Fix small bug in 'divide' function.
Bruno Haible 060ad6de 2007-05-18T18:26:01 Add support for 'long double' number output.
Bruno Haible 4de0caf9 2007-05-18T17:45:52 Work around broken snprintf function on BeOS.
Bruno Haible 3c57c210 2007-05-18T17:35:19 Support output of 64-bit numbers on mingw.
Bruno Haible e9bb2308 2007-05-06T23:02:10 Work around an incorrect implementation of the 0 flag on most platforms.
Bruno Haible 2bb894ab 2007-05-06T15:29:04 Work around lack of support of grouping flag.
Bruno Haible 9f9bd78a 2007-04-11T23:46:07 Implement the %F directive if the system doesn't implement it correctly.
Bruno Haible 7c21ed66 2007-04-06T21:22:02 Faster determination of the sign of a number.
Bruno Haible 9f88c0b0 2007-04-06T14:36:56 Assume 'long double' exists.
Bruno Haible 968e6472 2007-03-27T20:11:59 Use multithread-safe primitives for determining the decimal point character.
Bruno Haible 5b57d6d5 2007-03-26T02:15:46 Prefer nl_langinfo over localeconv.
Bruno Haible cdaeb6bb 2007-03-25T02:29:46 New module 'fpucw'.
Bruno Haible 555acda4 2007-03-25T01:11:49 Correct bitwise comparison of 'long double' numbers.
Bruno Haible 0865fa34 2007-03-25T00:49:34 Fix includes.
Bruno Haible deb895f2 2007-03-22T02:04:01 isnanl.h was renamed to isnanl-nolibm.h.
Bruno Haible db0b7baa 2007-03-19T01:02:27 Undo first part of last patch.
Bruno Haible c114350b 2007-03-18T00:31:50 Fix endless loop when the given allocated size was > INT_MAX.
Bruno Haible c3c8fb8f 2007-03-17T20:07:01 Fix a portability problem on x86.
Bruno Haible be32efb0 2007-03-11T22:55:55 Use the system's sprintf function.
Bruno Haible 22267180 2007-03-11T12:05:24 Avoid an endless recursion.
Bruno Haible 794283a4 2007-03-10T00:20:53 The decimal point must be locale dependent.
Bruno Haible c930ba29 2007-03-05T03:14:53 Oops, fix a couple of bugs in last commit.
Bruno Haible b4548f0e 2007-03-04T23:28:59 New module 'vasnprintf-posix'.
Bruno Haible a7b66f7c 2007-02-25T21:17:11 Fix estimate of size needed for a 'a' or 'A' conversion.
Bruno Haible ac5d57a6 2007-01-30T01:07:22 Stylistic change: Use '#if HAVE_*' instead of '#ifdef HAVE_*'.
Bruno Haible cfc2c6ca 2006-10-11T16:09:38 Use HAVE_LONG_LONG_INT instead of HAVE_LONG_LONG.
Bruno Haible 99099106 2006-09-14T14:18:36 Include <config.h> unconditionally.
Bruno Haible 16030b5e 2006-08-28T16:04:14 Do the INT_MAX check only where size_t is converted to 'int'.
Bruno Haible 376384bd 2006-01-23T15:01:57 Fix an incorrect estimation of the sprintf result size.
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Karl Berry 2a3f7e67 2005-03-02T14:56:43 sync (copyright years)
Bruno Haible dd469821 2005-03-01T15:36:36 Update from gettext 0.14.2.
Bruno Haible 372b0b04 2004-09-08T12:11:19 Improve handling of the case length > INT_MAX.
Bruno Haible 32508376 2004-05-17T11:27:08 Fix for format strings like "%2.f".
Bruno Haible 4831ead4 2003-11-25T11:18:46 Use size_t instead of ssize_t.
Bruno Haible bd49eb7d 2003-11-18T15:29:47 Avoid alloca with too large size.
Bruno Haible a416aa56 2003-11-17T15:14:21 Use xsize.h to protect against memory size overflows.
Bruno Haible dda38ff8 2003-11-17T14:56:31 Merge support for wide characters, from GNU gettext.
Bruno Haible 8ad6a4a3 2003-10-20T10:51:59 Portability to HP-UX 10, found by Jim Meyering.
Jim Meyering cd374e11 2003-09-13T22:13:36 Correct cpp indentation.
Jim Meyering 55b22cb6 2003-08-18T08:52:17 Remove trailing blanks.
Bruno Haible 8c21c43c 2003-08-11T13:02:26 Work around the lack of wcslen() on Solaris 2.5.1.
Karl Berry 411c246c 2003-07-15T12:42:06 karl srclist envvars, vasnprintf
Paul Eggert 757bd39e 2003-07-14T22:44:04 Update gettext source files from gettext automatically, using srclist-update.
Jim Meyering 8547d89e 2003-07-10T11:17:36 Remove trailing blanks. Make cpp indentation consistent.
Bruno Haible 87b04f99 2003-01-30T13:48:21 New modules vasnprintf and vasprintf.