Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#36] i/o: fix bug in usage of
std::isspace
Before, `std::isspace` was passed regular, possibly signed `char`s. This is not supported by `std::isspace`, however, and causes incorrect behaviour on some systems. As per cppreference: > The behavior [of `std::isspace`] is undefined if the value of ch > is not representable as unsigned char and is not equal to EOF. -> see https://en.cppreference.com/w/cpp/string/byte/isspace (cherry picked from commit 69cd380)
- Loading branch information