]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86: Fix `#define STRCPY` guard in strcpy-sse2.S
authorNoah Goldstein <goldstein.w.n@gmail.com>
Mon, 8 Aug 2022 03:26:21 +0000 (11:26 +0800)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Tue, 9 Aug 2022 09:00:03 +0000 (17:00 +0800)
`#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.

sysdeps/x86_64/multiarch/strcpy-sse2.S

index e29b41131468e73ca17a74c06d244b9c06f0b4fe..d6b9bae5f8e0e22db182d38c023dc2f7304e4811 100644 (file)
@@ -22,7 +22,7 @@
 
 # include <sysdep.h>
 
-# ifndef STPCPY
+# ifndef STRCPY
 #  define STRCPY __strcpy_sse2
 # endif