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.24-13-g5a0b613
- From: davem at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 3 Aug 2016 00:47:09 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.24-13-g5a0b613
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 5a0b6138d8325d6aabd504bcccd7ee5fba07bb25 (commit)
from 30f926d3b3dcb74c038155715ed341d5c4b334eb (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=5a0b6138d8325d6aabd504bcccd7ee5fba07bb25
commit 5a0b6138d8325d6aabd504bcccd7ee5fba07bb25
Author: David S. Miller <davem@davemloft.net>
Date: Tue Aug 2 17:46:58 2016 -0700
Fix wide-char testsuite SIGBUS on platforms such as Sparc.
* string/test-strncmp.c (do_test_limit): Make sure the test data
stream is aligned as required for the type "CHAR".
(do_test): Likewise.
diff --git a/ChangeLog b/ChangeLog
index 0b294c8..8caa301 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-08-02 David S. Miller <davem@davemloft.net>
+
+ * string/test-strncmp.c (do_test_limit): Make sure the test data
+ stream is aligned as required for the type "CHAR".
+ (do_test): Likewise.
+
2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
diff --git a/string/test-strncmp.c b/string/test-strncmp.c
index 8c0a331..d392248 100644
--- a/string/test-strncmp.c
+++ b/string/test-strncmp.c
@@ -156,6 +156,9 @@ do_test_limit (size_t align1, size_t align2, size_t len, size_t n, int max_char,
size_t i, align_n;
CHAR *s1, *s2;
+ align1 &= ~(CHARBYTES - 1);
+ align2 &= ~(CHARBYTES - 1);
+
if (n == 0)
{
s1 = (CHAR *) (buf1 + page_size);
@@ -204,6 +207,9 @@ do_test (size_t align1, size_t align2, size_t len, size_t n, int max_char,
size_t i;
CHAR *s1, *s2;
+ align1 &= ~(CHARBYTES - 1);
+ align2 &= ~(CHARBYTES - 1);
+
if (n == 0)
return;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
string/test-strncmp.c | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources