diff options
author | Liubov Dmitrieva <liubov.dmitrieva@gmail.com> | 2011-10-23 13:34:15 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-10-23 13:34:15 -0400 |
commit | 95584d3b3309ff4da4cc458254df383f5cff044b (patch) | |
tree | 2b8c9a0284e2b33c15b1d7cc48ef6e72d1a9207e /ChangeLog | |
parent | 774a2669af652979ed965d7225502ba473b2da73 (diff) | |
download | glibc-95584d3b3309ff4da4cc458254df383f5cff044b.tar glibc-95584d3b3309ff4da4cc458254df383f5cff044b.tar.gz glibc-95584d3b3309ff4da4cc458254df383f5cff044b.tar.bz2 glibc-95584d3b3309ff4da4cc458254df383f5cff044b.zip |
Fix signedness in wcscmp comparison
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> + + * sysdeps/x86_64/wcscmp.S: Update. + Fix wrong comparison semantics. + wcscmp shall use signed comparison not unsigned. + Don't use substraction to avoid overflow bug. + * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise. + * wcsmbc/wcscmp.c: Likewise. + * string/test-strcmp.c: Likewise. + Add new tests to check cases with negative values. + 2011-10-23 Ulrich Drepper <drepper@gmail.com> * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to... |