projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c04b91
)
(main): Make a bit more exciting.
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 27 Mar 2000 08:42:51 +0000
(08:42 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 27 Mar 2000 08:42:51 +0000
(08:42 +0000)
stdio-common/tst-obprintf.c
patch
|
blob
|
history
diff --git
a/stdio-common/tst-obprintf.c
b/stdio-common/tst-obprintf.c
index
e94d752
..
5d7089b
100644
(file)
--- 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 <
1
0000; ++n)
+ for (n = 0; n <
4
0000; ++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. */