about summary refs log tree commit diff
path: root/wcsmbs/wcsatcliff.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2010-10-03 22:10:30 -0400
committerPetr Baudis <pasky@suse.cz>2010-11-01 22:21:04 +0100
commit38e894eec8a26e302859840cd1f2de4387e24357 (patch)
tree567e477eabb8e13acb560a4c5a64846ecf04b541 /wcsmbs/wcsatcliff.c
parent0a15401613d381271618c7d4a2cac549ba3f2a2c (diff)
downloadglibc-38e894eec8a26e302859840cd1f2de4387e24357.tar.gz
glibc-38e894eec8a26e302859840cd1f2de4387e24357.tar.xz
glibc-38e894eec8a26e302859840cd1f2de4387e24357.zip
Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmp
(cherry picked from commit 45db99c7d03e497a3320907e722270fb7ee852f3)
Diffstat (limited to 'wcsmbs/wcsatcliff.c')
-rw-r--r--wcsmbs/wcsatcliff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wcsmbs/wcsatcliff.c b/wcsmbs/wcsatcliff.c
index b29571f294..95afff6098 100644
--- a/wcsmbs/wcsatcliff.c
+++ b/wcsmbs/wcsatcliff.c
@@ -16,6 +16,8 @@
 #define MEMCPY wmemcpy
 #define MEMPCPY wmempcpy
 #define MEMCHR wmemchr
+#define STRCMP wcscmp
+#define STRNCMP wcsncmp
 
 
 #include "../string/stratcliff.c"