From: Roland McGrath Date: Fri, 9 Dec 1994 20:16:06 +0000 (+0000) Subject: Remove extra shift and OR of CHARMASK. X-Git-Tag: glibc-2.16-ports-before-merge~3996 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5f9dfd1a18bd46d8f9132b37f034351015bd204;p=thirdparty%2Fglibc.git Remove extra shift and OR of CHARMASK. --- diff --git a/sysdeps/alpha/memchr.c b/sysdeps/alpha/memchr.c index c6f99bfd6fb..11ff542f257 100644 --- a/sysdeps/alpha/memchr.c +++ b/sysdeps/alpha/memchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -47,7 +47,6 @@ memchr (const void *s, int c, size_t n) charmask = c | (c << 8); charmask |= charmask << 16; charmask |= charmask << 32; - charmask |= charmask << 64; for (;;) { diff --git a/sysdeps/alpha/strchr.c b/sysdeps/alpha/strchr.c index fc56d518cc6..666e0c0196c 100644 --- a/sysdeps/alpha/strchr.c +++ b/sysdeps/alpha/strchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -43,7 +43,6 @@ strchr (const char *str, int c) charmask = c | (c << 8); charmask |= charmask << 16; charmask |= charmask << 32; - charmask |= charmask << 64; for (;;) {