Increase width of padded output in stdio-common/tst-put-error.

This commit is contained in:
Joseph Myers 2012-12-05 20:02:41 +00:00
parent ea2c5872e2
commit 363313b5be
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-12-05 Joseph Myers <joseph@codesourcery.com>
* stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10000 as width of padded output.
2012-12-04 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.

View File

@ -47,7 +47,7 @@ do_test (void)
error (EXIT_FAILURE, 0, "second fprintf succeeded");
/* Padded printing takes a different code path. */
n = fprintf (fp, "%10000s", "foo");
n = fprintf (fp, "%10000000s", "foo");
printf ("fprintf = %d\n", n);
if (n >= 0)
error (EXIT_FAILURE, 0, "padded fprintf succeeded");