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.22-689-gab9f625
- From: stli at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 20 Jan 2016 07:36:51 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.22-689-gab9f625
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 ab9f6255ab4e7aa353ec1b61b4f332bf00cea4d0 (commit)
from 2e3d0de31f2020fbf358b932db18b8c44e2c92d0 (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=ab9f6255ab4e7aa353ec1b61b4f332bf00cea4d0
commit ab9f6255ab4e7aa353ec1b61b4f332bf00cea4d0
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date: Wed Jan 20 08:32:37 2016 +0100
S390: Fix build error in iconvdata/bug-iconv11.c.
This fixes the following build error on S390 31bit while building the test
iconvdata/bug-iconv11.c with gcc 5.3:
bug-iconv11.c: In function â??test_ibm93xâ??:
bug-iconv11.c:59:11: error: format â??%tdâ?? expects argument of type â??ptrdiff_tâ??, but argument 2 has type â??size_t {aka long unsigned int}â?? [-Werror=format=]
printf (" ==> %td: %s\n"
^
cc1: all warnings being treated as errors
This patch uses %zu format specifier for argument size_t ret instead of %td.
ChangeLog:
* iconvdata/bug-iconv11.c (test_ibm93x):
Use %zu printf format specifier for size_t argument.
diff --git a/ChangeLog b/ChangeLog
index e5d46bc..679aa7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
+
+ * iconvdata/bug-iconv11.c (test_ibm93x):
+ Use %zu printf format specifier for size_t argument.
+
2016-01-19 Joseph Myers <joseph@codesourcery.com>
* math/gen-libm-test.pl (parse_ulps): Do not reduce
diff --git a/iconvdata/bug-iconv11.c b/iconvdata/bug-iconv11.c
index 6cdc07d..5b9d9a3 100644
--- a/iconvdata/bug-iconv11.c
+++ b/iconvdata/bug-iconv11.c
@@ -56,7 +56,7 @@ test_ibm93x (const char *from_set, const char *input, size_t inbytesleft)
errno = 0;
size_t ret = iconv (cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
- printf (" ==> %td: %s\n"
+ printf (" ==> %zu: %s\n"
" inbuf%+td, inbytesleft=%zu, outbuf%+td, outbytesleft=%zu\n",
ret, strerror (errno),
inbuf - input, inbytesleft, outbuf - output, outbytesleft);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
iconvdata/bug-iconv11.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources