mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 06:40:16 -05:00
9c4a500f75
Since commit v2.8.11~59^2 (cmSystemTools: Generalize TrimWhitespace to all whitespace, 2013-03-27) we incorrectly use `c <= ' '` to determine if `c` is a whitespace character. With a signed `char` type UTF-8 encoded strings may be truncated because values above 0x7f appear negative and therefore less than 0x20. Use `isspace(c)` instead.
79 KiB
79 KiB