mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Increase width of padded output in stdio-common/tst-put-error.
This commit is contained in:
parent
ea2c5872e2
commit
363313b5be
@ -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.
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user