alpha: Fix end-of-count checks in strncmp
authorRichard Henderson <rth@twiddle.net>
Wed, 6 Jun 2012 21:51:05 +0000 (14:51 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 6 Jun 2012 21:51:05 +0000 (14:51 -0700)
commitd8cbc13ab6b312b36e718908d57e35203ac07451
tree9dad1bd7a6b10b95cc51097b9d18d83a3024ea49
parent8e2f4e971fa048f55428ca49c3a55fa5dc03bd52
alpha: Fix end-of-count checks in strncmp

This routine suffered a similar problem as stxncpy in needing to
bias a potentially very large unsigned number with wraparound.
This exposed a secondary problem where we didn't properly handle
end-of-count condition for the second string input resulting in
stratcliff failures.
ChangeLog.alpha
sysdeps/alpha/strncmp.S