diff --git a/string/test-strncasecmp.c b/string/test-strncasecmp.c index 6c17530..11f1084 100644 --- a/string/test-strncasecmp.c +++ b/string/test-strncasecmp.c @@ -268,6 +268,9 @@ check1 (void) exp_result = simple_strncasecmp (s1, s2, n); FOR_EACH_IMPL (impl, 0) check_result (impl, s1, s2, n, exp_result); + s1 = ""; + FOR_EACH_IMPL (impl, 0) + check_result (impl, s1, "", 5, 0); } int diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S old mode 100644 new mode 100755 index 5e6321e..9735ad0 --- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S +++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S @@ -2445,7 +2445,7 @@ L(less16bytes_sncmp): # endif jne L(neq_sncmp) test %cl, %cl - je L(eq) + je L(eq_sncmp) cmp $1, REM je L(eq_sncmp)