Skip to content

Commit

Permalink
Increase width of padded output in stdio-common/tst-put-error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Myers committed Dec 5, 2012
1 parent ea2c587 commit 363313b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion stdio-common/tst-put-error.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 363313b

Please sign in to comment.