This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.16-ports-merge-835-g363313b


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  363313b5be5d4b357b50d322b3ab14a2ae1ccf60 (commit)
      from  ea2c5872e2f63415d4126dd8845c93c3a45e3e05 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=363313b5be5d4b357b50d322b3ab14a2ae1ccf60

commit 363313b5be5d4b357b50d322b3ab14a2ae1ccf60
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Dec 5 20:02:41 2012 +0000

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

diff --git a/ChangeLog b/ChangeLog
index 239c472..9cd4867 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/stdio-common/tst-put-error.c b/stdio-common/tst-put-error.c
index 7b95491..5209cce 100644
--- a/stdio-common/tst-put-error.c
+++ b/stdio-common/tst-put-error.c
@@ -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");

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                    |    5 +++++
 stdio-common/tst-put-error.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]