about summary refs log tree commit diff
path: root/stdio-common/tst-printf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-25 06:37:46 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-25 06:37:46 +0000
commita164874646386e3bba4d0ac17e6e69033396363f (patch)
treed19a008e4f5d96a8e6c548a81840f7df058de189 /stdio-common/tst-printf.c
parent5892e30537dbe58bb80db1f587693b77fc1a4f06 (diff)
downloadglibc-a164874646386e3bba4d0ac17e6e69033396363f.tar.gz
glibc-a164874646386e3bba4d0ac17e6e69033396363f.tar.xz
glibc-a164874646386e3bba4d0ac17e6e69033396363f.zip
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/tst-printf.c')
-rw-r--r--stdio-common/tst-printf.c3
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 ();