From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14726 invoked by alias); 11 Apr 2003 18:01:37 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 14710 invoked from network); 11 Apr 2003 18:01:37 -0000 Received: from unknown (HELO localhost.localdomain) (195.113.19.66) by sources.redhat.com with SMTP; 11 Apr 2003 18:01:37 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h3BI1VqO015793; Fri, 11 Apr 2003 20:01:31 +0200 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id h3BI1V4g015791; Fri, 11 Apr 2003 20:01:31 +0200 Date: Fri, 11 Apr 2003 18:01:00 -0000 From: Jakub Jelinek To: Roland McGrath , Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix string/tester.c typo Message-ID: <20030411180131.GE16629@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2003-04/txt/msg00030.txt.bz2 Hi! The loop is otherwise pointless... 2003-04-11 Jakub Jelinek * string/tester.c (test_strcmp): Fix a typo. --- libc/string/tester.c.jj 2003-01-14 10:02:34.000000000 -0500 +++ libc/string/tester.c 2003-04-11 14:00:11.000000000 -0400 @@ -89,8 +89,8 @@ test_strcmp (void) int k; for (k = 0; k < 0x3f; k++) { - buf1[j] = '0' ^ (k & 4); - buf2[j] = '4' ^ (k & 4); + buf1[k] = '0' ^ (k & 4); + buf2[k] = '4' ^ (k & 4); } buf1[i] = buf1[0x3f] = 0; buf2[j] = buf2[0x3f] = 0; Jakub