- need to be careful with ctype functions - the way they are written they will do bad things with non-ASCII characters if signed chars are fed to them.

This commit is contained in:
Christoph Oelckers 2017-03-18 19:37:36 +01:00
parent a2f2be17ef
commit 9ef88ea327

View file

@ -2030,7 +2030,7 @@ static int PatchPars (int dummy)
{ {
while ('\0' != *str) while ('\0' != *str)
{ {
if (isspace(*str)) if (isspace((unsigned char)*str))
{ {
return str; return str;
} }