diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-09-25 06:37:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-09-25 06:37:46 +0000 |
commit | a164874646386e3bba4d0ac17e6e69033396363f (patch) | |
tree | d19a008e4f5d96a8e6c548a81840f7df058de189 /stdio-common | |
parent | 5892e30537dbe58bb80db1f587693b77fc1a4f06 (diff) | |
download | glibc-a164874646386e3bba4d0ac17e6e69033396363f.tar.gz |
Update.
1999-09-24 Andreas Jaeger <aj@suse.de>
* stdio-common/tst-printf.c (main): Add a testcase for large
precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
1999-09-24 Andreas Schwab <schwab@suse.de>
* math/bits/mathcalls.h: Fix last change. Also declare __finite.
1999-09-24 Andreas Jaeger <aj@suse.de>
* intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
1999-09-23 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
variable. Define MORECORE_CLEARS to 2.
* malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
doesn't clear the contents of memory that is reallocated after
decrementing the break value first. Update comment about
MORECORE_CLEARS, explaining the meaning of the values it can be
set to.
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/tst-printf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stdio-common/tst-printf.c b/stdio-common/tst-printf.c index c50c882028..28d5c5116a 100644 --- a/stdio-common/tst-printf.c +++ b/stdio-common/tst-printf.c @@ -213,8 +213,11 @@ I am ready for my first lesson today."; { char buf[20]; + char buf2[512]; printf ("snprintf (\"%%30s\", \"foo\") == %d, \"%.*s\"\n", snprintf (buf, sizeof (buf), "%30s", "foo"), sizeof (buf), buf); + printf ("snprintf (\"%%.999999u\", 10)\n", + snprintf(buf2, sizeof(buf2), "%.999999u", 10)); } fp_test (); |