Skip to content

file(STRINGS): Use isprint() to test character type

Devin Nakamura requested to merge dnakamura/cmake:isprint into master

Use the more portable isprint() function to test characters rather than using hard-coded hex values. The function is documented by the C++ standard to return non-zero for the exact range of hex values we previously hard-coded, so this should not change behavior.

Topic-rename: file-STRINGS-isprint

Edited by Brad King

Merge request reports