This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.20-318-g1b8bf35
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 10 Dec 2014 16:03:44 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-318-g1b8bf35
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 1b8bf3518186cdc4f22037e5f226c34ffa143b89 (commit)
from f5f46d51f75083e27fae79cee6cd7707888faba3 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1b8bf3518186cdc4f22037e5f226c34ffa143b89
commit 1b8bf3518186cdc4f22037e5f226c34ffa143b89
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Dec 10 16:03:23 2014 +0000
Fix tst-ftell-active-handler.c warning.
A recent change to libio/tst-ftell-active-handler.c (postdating my
last check for warnings on x86) introduced a format warning from a
long int variable used with a %zu format. This patch fixes it by
using %ld for the format to match the variable.
Tested for x86.
* libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
format for long int variable.
diff --git a/ChangeLog b/ChangeLog
index bf140d3..ac8f639 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-10 Joseph Myers <joseph@codesourcery.com>
+
+ * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
+ format for long int variable.
+
2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
[BZ #10672]
diff --git a/libio/tst-ftell-active-handler.c b/libio/tst-ftell-active-handler.c
index 6151554..7be75bc 100644
--- a/libio/tst-ftell-active-handler.c
+++ b/libio/tst-ftell-active-handler.c
@@ -165,7 +165,7 @@ do_ftruncate_test (const char *filename)
it. */
if (offset != new_offset)
{
- printf ("Incorrect offset. Expected %zu, but got %ld\n",
+ printf ("Incorrect offset. Expected %ld, but got %ld\n",
offset, new_offset);
ret |= 1;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
libio/tst-ftell-active-handler.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources