diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-06-03 09:03:14 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-06-03 09:28:19 (GMT) |
commit | cd003bfcf9a05967893099e8948ba3d8f281aa7d (patch) | |
tree | c9e5afc64bf1d33bbf6121f64c03ba20fc2ecdf8 /doc/src/snippets/qtest-namespace | |
parent | 9ecba4c0c963272bbbac627a6742153b5f6f361f (diff) | |
download | Qt-cd003bfcf9a05967893099e8948ba3d8f281aa7d.zip Qt-cd003bfcf9a05967893099e8948ba3d8f281aa7d.tar.gz Qt-cd003bfcf9a05967893099e8948ba3d8f281aa7d.tar.bz2 |
QString: Fix severals bugs when comparing with QStringRef
the internal ucstricmp and ucstrcmp contains different bugs if the
strings are not 0-terminated, as it is with QStringRef.
- in ucstricmp, even if the pointer are the same, the lenght could
be different
- we used to deference the 'end' pointer, that would be 0 if the
string ends with 0, but we cannot do that in the general case
Task-number: QTBUG-10404
Reviewed-by: Denis
Diffstat (limited to 'doc/src/snippets/qtest-namespace')
0 files changed, 0 insertions, 0 deletions