From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7844) id E79E03858293; Tue, 9 Aug 2022 09:52:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E79E03858293 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Noah Goldstein To: glibc-cvs@sourceware.org Subject: [glibc] x86: Fix `#define STRCPY` guard in strcpy-sse2.S X-Act-Checkin: glibc X-Git-Author: Noah Goldstein X-Git-Refname: refs/heads/master X-Git-Oldrev: 483cfe1a6a33d6335b1901581b41040d2d412511 X-Git-Newrev: 312ded0d6339e8c463d0395397b5825401b14f54 Message-Id: <20220809095237.E79E03858293@sourceware.org> Date: Tue, 9 Aug 2022 09:52:37 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2022 09:52:38 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=312ded0d6339e8c463d0395397b5825401b14f54 commit 312ded0d6339e8c463d0395397b5825401b14f54 Author: Noah Goldstein Date: Mon Aug 8 11:26:21 2022 +0800 x86: Fix `#define STRCPY` guard in strcpy-sse2.S `#ifndef STPCPY` is incorrect for checking if `STRCPY` is already defined. It doesn't end up mattering as the whole check is guarded by `#if IS_IN (libc)` but is incorrect none the less. Diff: --- sysdeps/x86_64/multiarch/strcpy-sse2.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2.S b/sysdeps/x86_64/multiarch/strcpy-sse2.S index e29b411314..d6b9bae5f8 100644 --- a/sysdeps/x86_64/multiarch/strcpy-sse2.S +++ b/sysdeps/x86_64/multiarch/strcpy-sse2.S @@ -22,7 +22,7 @@ # include -# ifndef STPCPY +# ifndef STRCPY # define STRCPY __strcpy_sse2 # endif