public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] x86: Fix `#define STRCPY` guard in strcpy-sse2.S
@ 2022-08-09  9:52 Noah Goldstein
  0 siblings, 0 replies; only message in thread
From: Noah Goldstein @ 2022-08-09  9:52 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=312ded0d6339e8c463d0395397b5825401b14f54

commit 312ded0d6339e8c463d0395397b5825401b14f54
Author: Noah Goldstein <goldstein.w.n@gmail.com>
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 <sysdep.h>
 
-# ifndef STPCPY
+# ifndef STRCPY
 #  define STRCPY __strcpy_sse2
 # endif


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-09  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09  9:52 [glibc] x86: Fix `#define STRCPY` guard in strcpy-sse2.S Noah Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).