diff options
author | Daniel Wilhelm <shieldwed@outlook.com> | 2018-05-09 00:04:33 +0200 |
---|---|---|
committer | Daniel Wilhelm <shieldwed@outlook.com> | 2018-05-09 00:04:33 +0200 |
commit | 017e56b81ba735c39c43701f737ac7dde55da7b4 (patch) | |
tree | ea7aaaee13a06a702701e2f74f5d390e10ae303e /zen/zstring.cpp | |
parent | 9.4 (diff) | |
download | FreeFileSync-017e56b81ba735c39c43701f737ac7dde55da7b4.tar.gz FreeFileSync-017e56b81ba735c39c43701f737ac7dde55da7b4.tar.bz2 FreeFileSync-017e56b81ba735c39c43701f737ac7dde55da7b4.zip |
9.5
Diffstat (limited to 'zen/zstring.cpp')
-rwxr-xr-x | zen/zstring.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/zen/zstring.cpp b/zen/zstring.cpp index 6b41af13..fb62424a 100755 --- a/zen/zstring.cpp +++ b/zen/zstring.cpp @@ -74,9 +74,12 @@ int cmpStringNaturalLinux(const char* lhs, size_t lhsLen, const char* rhs, size_ - compare strings after conceptually creating blocks of whitespace/numbers/text - implement strict weak ordering! - don't follow broken "strnatcasecmp": https://github.com/php/php-src/blob/master/ext/standard/strnatcmp.c - 1. incorrect non-ASCII CI-comparison 2. incorrect bounds checks - 3. incorrect trimming of *all* whitespace 4. arbitrary handling of leading 0 only at string begin - 5. incorrect handling of whitespace following a number 6. code is a mess + 1. incorrect non-ASCII CI-comparison + 2. incorrect bounds checks + 3. incorrect trimming of *all* whitespace + 4. arbitrary handling of leading 0 only at string begin + 5. incorrect handling of whitespace following a number + 6. code is a mess */ for (;;) { |