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]

Community source repository for glibc add-on ports branch, master, updated. glibc-2.12-31-g6c14d67


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 "Community source repository for glibc add-on ports".

The branch, master has been updated
       via  6c14d67f5f27701e0fd718cbf23850ca64d1af6e (commit)
       via  b54f998dc380ce327a7faf2c40e569fb2cf39bf0 (commit)
      from  539af0feeebbf489fe070c0cb787f9fab77c0d0c (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-ports.git;a=commitdiff;h=6c14d67f5f27701e0fd718cbf23850ca64d1af6e

commit 6c14d67f5f27701e0fd718cbf23850ca64d1af6e
Author: Richard Henderson <rth@twiddle.net>
Date:   Sun Sep 26 11:13:04 2010 -0700

    Update changelog for last change.

diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index d1c0e12..d2030d6 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,3 +1,8 @@
+2010-09-26  Michael Cree  <mcree@orcon.net.nz>
+
+	* sysdeps/alpha/memchr.c: Include <bp-sym.h>
+	(__memchr): Add casts for integer arithmetic on pointers.
+
 2010-09-23  Richard Henderson  <rth@redhat.com>
 
 	[BZ #12019]

http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=b54f998dc380ce327a7faf2c40e569fb2cf39bf0

commit b54f998dc380ce327a7faf2c40e569fb2cf39bf0
Author: Michael Cree <mcree@orcon.net.nz>
Date:   Sun Sep 26 21:15:51 2010 +1300

    alpha: Fix compile errors in memchr
    
    Include missing header file and make some casts explicit.

diff --git a/sysdeps/alpha/memchr.c b/sysdeps/alpha/memchr.c
index c52841b..7e16f8a 100644
--- a/sysdeps/alpha/memchr.c
+++ b/sysdeps/alpha/memchr.c
@@ -17,6 +17,7 @@
    02111-1307 USA.  */
 
 #include <string.h>
+#include <bp-sym.h>
 
 typedef unsigned long word;
 
@@ -53,11 +54,11 @@ __memchr (const void *s, int xc, size_t n)
 
   /* Align the source, and decrement the count by the number
      of bytes searched in the first word.  */
-  s_align = (const word *)(s & -8);
-  n += (s & 7);
+  s_align = (const word *)((word)s & -8);
+  n += ((word)s & 7);
 
   /* Deal with misalignment in the first word for the comparison.  */
-  mask = (1ul << (s & 7)) - 1;
+  mask = (1ul << ((word)s & 7)) - 1;
 
   /* If the entire string fits within one word, we may need masking
      at both the front and the back of the string.  */

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

Summary of changes:
 ChangeLog.alpha        |    5 +++++
 sysdeps/alpha/memchr.c |    7 ++++---
 2 files changed, 9 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Community source repository for glibc add-on ports


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