lib/vasnprintf.c


Log

Author Commit Date CI Message
Paul Eggert 341111f6 2012-02-09T21:39:05 maint: replace FSF snail-mail addresses with URLs * config/argz.mk, lib/accept4.c, lib/alignof.h, lib/alloca.in.h: * lib/alphasort.c, lib/arcfour.c, lib/arcfour.h, lib/arctwo.c: * lib/arctwo.h, lib/argz.c, lib/arpa_inet.in.h, lib/asnprintf.c: * lib/asprintf.c, lib/assert.in.h, lib/base32.c, lib/base32.h: * lib/base64.c, lib/base64.h, lib/c-ctype.c, lib/c-ctype.h: * lib/c-strcase.h, lib/c-strcasecmp.c, lib/c-strncasecmp.c: * lib/check-version.c, lib/check-version.h, lib/config.charset: * lib/ctype.in.h, lib/des.c, lib/des.h, lib/dup3.c, lib/errno.in.h: * lib/float+.h, lib/fnmatch.c, lib/fnmatch.in.h, lib/fnmatch_loop.c: * lib/fseeko.c, lib/gai_strerror.c, lib/gc-gnulib.c: * lib/gc-libgcrypt.c, lib/gc-pbkdf2-sha1.c, lib/gc.h: * lib/getaddrinfo.c, lib/getdelim.c, lib/getfilecon.c, lib/getline.c: * lib/getlogin_r.c, lib/getpass.c, lib/getpass.h, lib/gettext.h: * lib/gettimeofday.c, lib/glob.in.h, lib/glthread/cond.c: * lib/glthread/cond.h, lib/glthread/lock.c, lib/glthread/lock.h: * lib/glthread/thread.c, lib/glthread/thread.h: * lib/glthread/threadlib.c, lib/glthread/yield.h, lib/hmac-md5.c: * lib/hmac-sha1.c, lib/hmac.h, lib/iconv.c, lib/iconv.in.h: * lib/iconv_close.c, lib/iconv_open.c, lib/inet_ntop.c, lib/isfinite.c: * lib/isinf.c, lib/iswblank.c, lib/langinfo.in.h, lib/link.c: * lib/localcharset.c, lib/localcharset.h, lib/lseek.c, lib/malloc.c: * lib/malloca.c, lib/malloca.h, lib/md2.c, lib/md2.h, lib/md4.c: * lib/md4.h, lib/md5.c, lib/md5.h, lib/memmem.c, lib/mempcpy.c: * lib/memset.c, lib/memxor.c, lib/memxor.h, lib/minmax.h, lib/mktime.c: * lib/msvc-inval.c, lib/msvc-inval.h, lib/msvc-nothrow.c: * lib/msvc-nothrow.h, lib/netdb.in.h, lib/netinet_in.in.h, lib/nproc.c: * lib/nproc.h, lib/obstack_printf.c, lib/pathmax.h, lib/pipe.c: * lib/pipe2.c, lib/poll.c, lib/poll.in.h, lib/printf-args.c: * lib/printf-args.h, lib/printf-parse.c, lib/printf-parse.h: * lib/pselect.c, lib/pthread.in.h, lib/pty-private.h, lib/pty.in.h: * lib/read-file.c, lib/read-file.h, lib/ref-add.sin, lib/ref-del.sin: * lib/regcomp.c, lib/regex.c, lib/regex.h, lib/regex_internal.c: * lib/regex_internal.h, lib/regexec.c, lib/rijndael-alg-fst.c: * lib/rijndael-alg-fst.h, lib/rijndael-api-fst.c: * lib/rijndael-api-fst.h, lib/rint.c, lib/rintf.c, lib/rintl.c: * lib/round.c, lib/roundf.c, lib/roundl.c, lib/scandir.c, lib/select.c: * lib/sha1.c, lib/sha1.h, lib/size_max.h, lib/snprintf.c: * lib/stdalign.in.h, lib/stdarg.in.h, lib/stdbool.in.h: * lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/str-kmp.h: * lib/str-two-way.h, lib/strcasecmp.c, lib/strcasestr.c, lib/strdup.c: * lib/striconv.c, lib/striconv.h, lib/string.in.h, lib/strings.in.h: * lib/strncasecmp.c, lib/strndup.c, lib/strnlen.c, lib/strpbrk.c: * lib/strptime.c, lib/strsep.c, lib/strstr.c, lib/strverscmp.c: * lib/sys_file.in.h, lib/sys_ioctl.in.h, lib/sys_select.in.h: * lib/sys_socket.in.h, lib/sys_stat.in.h, lib/sys_time.in.h: * lib/sys_times.in.h, lib/sys_types.in.h, lib/sys_uio.in.h: * lib/sys_utsname.in.h, lib/sys_wait.in.h, lib/tcgetsid.c: * lib/termios.in.h, lib/time.in.h, lib/time_r.c, lib/timegm.c: * lib/times.c, lib/unictype/3level.h, lib/unictype/3levelbit.h: * lib/unistd.in.h, lib/vasnprintf.c, lib/vasnprintf.h, lib/vasprintf.c: * lib/vsnprintf.c, lib/waitpid.c, lib/wchar.in.h, lib/wctype.in.h: * lib/xsize.h, tests/test-closein.c, tests/test-des.c: * tests/test-fclose.c, tests/test-fgetc.c, tests/test-filevercmp.c: * tests/test-fputc.c, tests/test-fread.c, tests/test-fwrite.c: * tests/test-gc-arcfour.c, tests/test-gc-arctwo.c, tests/test-gc-des.c: * tests/test-gc-hmac-md5.c, tests/test-gc-hmac-sha1.c: * tests/test-gc-md2.c, tests/test-gc-md4.c, tests/test-gc-md5.c: * tests/test-gc-pbkdf2-sha1.c, tests/test-gc-rijndael.c: * tests/test-gc-sha1.c, tests/test-gc.c, tests/test-getdelim.c: * tests/test-getline.c, tests/test-getndelim2.c, tests/test-md2.c: * tests/test-md4.c, tests/test-parse-datetime.c, tests/test-perror.c: * tests/test-perror2.c, tests/test-pipe.c, tests/test-pipe2.c: * tests/test-poll.c, tests/test-quotearg-simple.c: * tests/test-quotearg.c, tests/test-quotearg.h: * tests/test-round-ieee.c, tests/test-round1.c: * tests/test-roundf-ieee.c, tests/test-roundf1.c: * tests/test-roundl-ieee.c, tests/test-roundl.c: * tests/test-safe-alloc.c, tests/test-sigpipe.c: * tests/test-spawn-pipe-child.c, tests/test-spawn-pipe-main.c: * tests/test-strerror.c, tests/test-strerror_r.c: * tests/test-strsignal.c, tests/test-strverscmp.c: * tests/test-xmemdup0.c: Replace FSF snail mail addresses with URLs, as per GNU coding standards. See glibc bug <http://sourceware.org/bugzilla/show_bug.cgi?id=13673>.
Paul Eggert a4d796fb 2012-02-05T13:42:03 maint: spelling fixes
Bruno Haible 1b612639 2012-01-04T14:31:33 Talk about "native Windows API", not "Win32". * lib/classpath.c: Update comments to mention native Windows. * lib/csharpexec.c: Likewise. * lib/dup2.c: Likewise. * lib/error.c: Likewise. * lib/fcntl.c: Likewise. * lib/filename.h: Likewise. * lib/findprog.c: Likewise. * lib/get-rusage-as.c: Likewise. * lib/get-rusage-data.c: Likewise. * lib/getpagesize.c: Likewise. * lib/javaexec.c: Likewise. * lib/msvc-inval.c: Likewise. * lib/msvc-nothrow.c: Likewise. * lib/nanosleep.c: Likewise. * lib/nonblocking.c: Likewise. * lib/printf-parse.c: Likewise. * lib/setlocale.c: Likewise. * lib/sigaction.c: Likewise. * lib/strerror_r.c: Likewise. * lib/tmpdir.c: Likewise. * lib/vasnprintf.c: Likewise. * lib/w32spawn.h: Likewise. * lib/waitpid.c: Likewise. * lib/stdio.in.h (fdopen, fopen, freopen): Likewise. * m4/locale-ar.m4: Likewise. * m4/locale-fr.m4: Likewise. * m4/locale-ja.m4: Likewise. * m4/locale-tr.m4: Likewise. * m4/locale-zh.m4: Likewise. * m4/printf.m4: Likewise. * tests/test-cloexec.c: Likewise. * tests/test-copy-acl.sh: Likewise. * tests/test-copy-file.sh: Likewise. * tests/test-file-has-acl.sh: Likewise. * tests/test-set-mode-acl.sh: Likewise. * tests/test-dup-safer.c: Likewise. * tests/test-dup2.c: Likewise. * tests/test-dup3.c: Likewise. * tests/test-fcntl.c: Likewise. * tests/test-nonblocking-pipe.h: Likewise. * tests/test-nonblocking-socket.h: Likewise. * tests/test-pipe.c: Likewise. * tests/test-pipe2.c: Likewise. * tests/test-spawn-pipe-child.c: Likewise. * doc/acl-resources.txt: Likewise. * lib/getaddrinfo.c (WINDOWS_NATIVE): Renamed from WIN32_NATIVE. * tests/test-poll.c (WINDOWS_NATIVE): Likewise. * tests/test-select.h (WINDOWS_NATIVE): Likewise. * lib/localcharset.c: Update comments to mention native Windows. (WINDOWS_NATIVE): Renamed from WIN32_NATIVE. * lib/localename.c: Likewise. * lib/progreloc.c: Likewise. * lib/relocatable.c: Likewise. * lib/poll.c (WINDOWS_NATIVE): Renamed from WIN32_NATIVE. (windows_compute_revents): Renamed from win32_compute_revents. (windows_compute_revents_socket): Renamed from win32_compute_revents_socket. * lib/select.c: Update comments to mention native Windows. (windows_poll_handle): Renamed from win32_poll_handle. * m4/threadlib.m4: Update comments to mention native Windows. (gl_THREADLIB_EARLY_BODY, gl_THREADLIB_BODY): Expect --enable-threads=windows instead of --enable-threads=win32. Set USE_WINDOWS_THREADS, not USE_WIN32_THREADS. * lib/glthread/lock.h: Update comments to mention native Windows. (USE_WINDOWS_THREADS): Renamed from USE_WIN32_THREADS. * lib/glthread/lock.c (USE_WINDOWS_THREADS): Renamed from USE_WIN32_THREADS. * lib/glthread/cond.h (USE_WINDOWS_THREADS): Likewise. * lib/glthread/cond.c (USE_WINDOWS_THREADS): Likewise. * lib/glthread/thread.h (USE_WINDOWS_THREADS): Likewise. * lib/glthread/thread.c (USE_WINDOWS_THREADS): Likewise. * lib/glthread/tls.h (USE_WINDOWS_THREADS): Likewise. * lib/glthread/tls.c (USE_WINDOWS_THREADS): Likewise. * lib/glthread/yield.h (USE_WINDOWS_THREADS): Likewise. * tests/test-cond.c (USE_WINDOWS_THREADS): Likewise. * tests/test-thread_create.c (USE_WINDOWS_THREADS): Likewise. * tests/test-lock.c (USE_WINDOWS_THREADS): Likewise. (TEST_WINDOWS_THREADS): Renamed from TEST_WIN32_THREADS. * tests/test-tls.c: Likewise. Rationale: Microsoft renamed the "Win32 API" to "Windows API", as it is available on both 32-bit and 64-bit Windows systems. But in gnulib, we treat Cygwin like a Unix platform, therefore the main line of distinction is between "native Windows" on one side and Unix/ POSIX systems on the other side. More details in <https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00027.html>. Suggested by Paul Eggert.
Jim Meyering 1602f0af 2012-01-01T10:04:58 maint: update all copyright year number ranges Run "make update-copyright".
Bruno Haible 8f9c4147 2011-10-15T13:20:29 vasnprintf: Optimize bit search operation. * lib/vasnprintf.c (divide): Use optimizations from integer_length.c. * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Require gl_DOUBLE_EXPONENT_LOCATION. * modules/vasnprintf (Files): Add m4/exponentd.m4. * modules/unistdio/u8-vasnprintf (Files): Likewise. * modules/unistdio/u8-u8-vasnprintf (Files): Likewise. * modules/unistdio/u16-vasnprintf (Files): Likewise. * modules/unistdio/u16-u16-vasnprintf (Files): Likewise. * modules/unistdio/u32-vasnprintf (Files): Likewise. * modules/unistdio/u32-u32-vasnprintf (Files): Likewise. * modules/unistdio/ulc-vasnprintf (Files): Likewise. * m4/isnand.m4 (gl_PREREQ_ISNAND): Use AC_REQUIRE.
Bruno Haible 3e89323b 2011-10-15T12:13:07 vasnprintf: Fix comments. * lib/vasnprintf.c (decode_long_double, decode_double): Fix comments.
Bruno Haible 5d8fde12 2011-02-23T10:58:06 Fix misindentation of preprocessor directives. * lib/argp-namefrob.h: Reindent preprocessor directives. * lib/getopt_int.h (struct _getopt_data): Likewise. * lib/progreloc.c (maybe_executable, find_executable): Likewise. * lib/vasnprintf.c (decode_long_double): Likewise. * tests/test-argmatch.c: Insert blank lines, for clarity. * tests/test-exclude.c: Likewise.
Bruno Haible 8c6ae0f8 2011-02-04T19:22:43 vasnprintf: Reduce use of malloc for small format strings. * lib/printf-args.h (N_DIRECT_ALLOC_ARGUMENTS): New macro. (arguments): Add room for the first 7 arguments. * lib/printf-parse.h (N_DIRECT_ALLOC_DIRECTIVES): New macro. (char_directives, u8_directives, u16_directives, u32_directives): Add room for the first 7 directives. * lib/printf-parse.c: Include <string.h>. (PRINTF_PARSE): Change memory handling code so that it uses the first 7 preallocated elements in an 'arguments' or 'DIRECTIVES' struct. * lib/vasnprintf.c (VASNPRINTF): Update memory handling code. Reported by Pádraig Brady <P@draigbrady.com>.
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Bruno Haible 63bc47a1 2010-11-20T18:54:00 Port to uClibc. * lib/relocatable.c (find_shared_library_fullname): Treat uClibc like glibc. * lib/strerror_r.c: Likewise. * m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Likewise. * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Likewise. * m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Likewise. * m4/glibc21.m4 (gl_GLIBC21): Likewise. * tests/test-sigaction.c (handler, main): Likewise. * lib/localename.c (gl_locale_name_thread_unsafe, HAVE_LOCALE_NULL): Treat uClibc like a non-glibc platform. * lib/propername.c (proper_name_utf8): Likewise. * lib/spawn.in.h: Likewise. * lib/striconv.c (mem_cd_iconv, str_cd_iconv, str_iconv): Likewise. * lib/striconveh.c (iconveh_open, iconv_carefully, iconv_carefully_1, mem_cd_iconveh_internal): Likewise. * lib/striconveha.c (mem_iconveha, str_iconveha): Likewise. * lib/string.in.h (memchr, memrchr, rawmemchr, strchrnul, strpbrk, strstr, strcasestr): Likewise. * lib/unicodeio.c (unicode_to_mb): Likewise. * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise. * m4/getline.m4 (gl_FUNC_GETLINE): Likewise. * m4/glibc2.m4 (gt_GLIBC2): Likewise. * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN): Likewise. * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE, gl_FUNC_MEMMEM): Likewise. * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Likewise. * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE, gl_FUNC_STRCASESTR): Likewise. * m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE, gl_FUNC_STRSTR): Likewise. * m4/strtod.m4 (gl_FUNC_STRTOD): Likewise. * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Likewise. * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise. * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise. * m4/sys_times_h.m4 (gl_SYS_TIMES_H): Likewise. * m4/unistd_h.m4 (gl_UNISTD_H): Likewise. * m4/wchar_h.m4 (gl_WCHAR_H): Likewise. * tests/test-getopt.h (OPTIND_MIN): Likewise. * tests/test-striconveha.c (main): Likewise. * doc/posix-functions/getdelim.texi: Mention an uClibc bug. * doc/posix-functions/getline.texi: Likewise. Reported by Mike Frysinger <vapier@gentoo.org>.
Bruno Haible 79006111 2010-11-20T13:37:27 Fix a comment. * lib/vasnprintf.c (VASNPRINTF): Fix comment.
Bruno Haible f03d479e 2010-11-07T18:50:19 vasnprintf: Support I flag on glibc systems. * lib/printf-parse.h (FLAG_LOCALIZED): New macro. * lib/printf-parse.c (PRINTF_PARSE): Handle the 'I' flag. * lib/vasnprintf.c (VASNPRINTF): Pass the 'I' flag on to the system's snprintf function. * tests/test-vasnprintf-posix.c (test_function): Test the 'I' flag on glibc systems. * tests/test-vasnprintf-posix3.c: New file. * modules/vasnprintf-posix-tests (Files): Add it. (TESTS, check_PROGRAMS): Add test-vasnprintf-posix3.
Bruno Haible d239853d 2010-10-15T02:01:51 vasnprintf: Don't set errno to 0. * lib/vasnprintf.c (VASNPRINTF): Save and restore errno around the block that sets it to 0. Reported by Gianluigi Tiesi <sherpya@netfarm.it>.
Paul Eggert 050d87a6 2010-10-10T20:16:39 rewrite int foo[2*X-1] to verify(X) or to int foo[X?1:-1] * lib/float+.h (verify_sizeof_flt, verify_sizeof_dbl): (verify_sizeof_ldbl): Rewrite 2*X-1 to X?1:-1. * lib/malloca.c: Include "verify.h". (verify1): Remove, replacing with a verify call. * lib/relocwrapper.c (verify1): Likewise. * lib/vasnprintf.c (mp_limb_verify, mp_twolimb_verify, TCHAR_T_verify): Likewise. * modules/malloca (Depends-on): Add 'verify'. * modules/relocatable-prog-wrapper (Depends-on): Add 'verify'. * modules/vasnprintf (Depends-on): Add 'verify'. * modules/unistdio/u8-vasnprintf (Depends-on): Likewise. * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise. * modules/unistdio/u16-vasnprintf (Depends-on): Likewise. * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise. * modules/unistdio/u32-vasnprintf (Depends-on): Likewise. * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise. * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise.
Bruno Haible 7f59c22a 2010-05-09T11:14:46 vasnprintf: Fix syntax errors in libintl build on mingw.
Bruno Haible e51d12c1 2010-04-24T17:18:48 vasnprintf: Correct errno value in case of out-of-memory.
Bruno Haible 0167c192 2010-04-10T22:25:31 vasnprintf: Correct handling of unconvertible wide string arguments.
Bruno Haible 32d1664e 2010-04-10T22:17:02 vasnprintf: Fix crash in %ls directive.
Bruno Haible 067d1f10 2010-04-10T21:40:23 vasnprintf: Fix multiple test failures on mingw.
Bruno Haible b71b53d8 2010-01-01T02:59:04 vasnprintf: Avoid passing an 'rpl_mbstate_t *' to the system's wcrtomb.
Bruno Haible 441aa304 2009-12-10T20:28:30 Use spaces for indentation, not tabs.
Bruno Haible 0581dde5 2009-11-23T02:43:23 vasnprintf: Tiny optimization.
Eric Blake ed893045 2009-10-30T10:24:45 vasnprintf: avoid compiler warnings * lib/vasnprintf.c (VASNPRINTF): Avoid shadowing our own local variables. * lib/printf-args.c (PRINTF_FETCHARGS): Avoid type mismatch. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake bab00aef 2009-08-20T08:21:46 build: avoid some compiler warnings * lib/selinux-at.h: Use dir_fd, not dirfd, to avoid shadowing. * lib/exclude.c (fnmatch_pattern_has_wildcards): Use correct type. (new_exclude_segment, excluded_file_pattern_p) (excluded_file_name_p): Reduce scope. * lib/vasnprintf.c (decimal_point_char): Avoid warning on old-style declaration. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible c945081d 2009-08-11T01:06:54 Undefine DCHAR_SET after use.
Bruno Haible d4ca6455 2009-04-26T16:43:25 Simplify calling convention of u*_conv_from_encoding.
Bruno Haible 7723389f 2009-04-26T15:31:18 Simplify calling convention of u*_conv_to_encoding.
Jim Meyering fcfced6a 2009-03-22T09:36:41 typo fix in a comment * lib/vasnprintf.c (divide): Fix a typo in a comment.
Bruno Haible bd3911a0 2009-02-26T13:03:16 Oops, ignore NEED_PRINTF_DIRECTIVE_LS when IN_LIBINTL is defined.
Bruno Haible 220f76a1 2009-02-26T12:54:20 Fix *printf behaviour regarding the %ls directive.
Bruno Haible 1c733910 2009-02-24T12:34:41 Typography in comments.
Bruno Haible f74d478b 2009-02-24T04:21:06 Update copyright year.
Bruno Haible e8e63d1b 2009-02-24T04:10:02 vasnprintf: Fix invalid read past end of memory block.
Eric Blake 91764fec 2008-09-23T01:54:22 vasnprintf: fix x86/glibc regression on printf("%La", 0.0L)
Bruno Haible 865b1b89 2008-09-18T12:34:27 Tweak last commit.
Bruno Haible cb0fce1e 2008-09-17T04:58:08 Don't use tabs inside comments ("unexpand --first-only").
Eric Blake 558bf128 2008-09-16T09:36:24 vasnprintf: support Irix 5.3 * lib/vasnprintf.c (VASNPRINTF): Also handle -0.0L on platforms that mishandle long double infinity. Reported by Tom G. Christensen. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 48f8acca 2008-09-01T21:28:44 vasnprintf-posix: handle large precision via %.*d * lib/vasnprintf.c (VASNPRINTF): Don't pass precision to snprintf when handling it ourselves. * tests/test-vasnprintf-posix.c (test_function): Add test. * tests/test-snprintf-posix.h (test_function): Likewise. * tests/test-sprintf-posix.h (test_function): Likewise. * tests/test-vasprintf-posix.c (test_function): Likewise. Reported by Alain Guibert. Signed-off-by: Eric Blake <ebb9@byu.net>
Ben Pfaff f2bbde92 2008-07-12T10:41:34 Rename isnand.h to isnand-nolibm.h, similarly for isnanf.h.
Bruno Haible 669dd0b0 2008-05-22T00:58:27 Oops, fix syntax error introduced by last commit.
Bruno Haible e31cfddf 2008-05-22T00:53:42 Avoid one more warning from gcc.
Jim Meyering 889c9cb8 2008-05-21T23:09:59 avoid another warning from gcc * lib/vasnprintf.c (scale10_round_decimal_double): Use IF_LINT to avoid another "may be used uninitialized" warning.
Jim Meyering 9e52f3ef 2008-05-21T18:38:12 avoid a warning from gcc * lib/vasnprintf.c (IF_LINT): Define. (scale10_round_decimal_long_double): Use it to avoid a "may be used uninitialized" warning.
Bruno Haible 1f8fbdc7 2008-05-17T02:35:22 Avoid some warnings from "gcc -Wshadow".
Bruno Haible 5fc2139c 2008-04-19T21:42:16 Work around snprintf bug on Linux libc5.
Bruno Haible ee761da9 2008-04-19T17:55:05 Make floorlog10 function more precise.
Bruno Haible f797ae74 2008-04-19T17:26:36 Fix rounding when a precision is given.
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.