diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-03-27 08:42:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-03-27 08:42:51 +0000 |
commit | 45f52bde66d7a6038ea7bc0226bb3257f5e17dcc (patch) | |
tree | 7fae61272eab905090bf3f1134aa3e353702d8b0 /stdio-common/tst-obprintf.c | |
parent | 0c04b91eeff39d1cbf60626fed12d7fe7b998751 (diff) | |
download | glibc-45f52bde66d7a6038ea7bc0226bb3257f5e17dcc.zip glibc-45f52bde66d7a6038ea7bc0226bb3257f5e17dcc.tar.gz glibc-45f52bde66d7a6038ea7bc0226bb3257f5e17dcc.tar.bz2 |
(main): Make a bit more exciting.
Diffstat (limited to 'stdio-common/tst-obprintf.c')
-rw-r--r-- | stdio-common/tst-obprintf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stdio-common/tst-obprintf.c b/stdio-common/tst-obprintf.c index e94d752..5d7089b 100644 --- a/stdio-common/tst-obprintf.c +++ b/stdio-common/tst-obprintf.c @@ -17,10 +17,12 @@ main (void) obstack_init (&ob); - for (n = 0; n < 10000; ++n) + for (n = 0; n < 40000; ++n) { mcheck_check_all (); obstack_printf (&ob, "%.*s%05d", 1 + n % 7, "foobarbaz", n); + if (n % 777 == 0) + obstack_finish (&ob); } /* And a final check. */ |