PR 27722
* libdep_plugin.c (str2vec): Don't pass a potentially signed char
to isspace.
+2021-04-13 Alan Modra <amodra@gmail.com>
+
+ PR 27722
+ * libdep_plugin.c (str2vec): Don't pass a potentially signed char
+ to isspace.
+
2021-04-12 Alan Modra <amodra@gmail.com>
* configure.ac (--enable-checking): Add support.
end = in + strlen (in);
s = in;
- while (isspace (*s)) s++;
+ while (isspace ((unsigned char) *s)) s++;
first = s;
i = 1;
memmove (s, s+1, end-s-1);
end--;
}
- if (isspace (*s))
+ if (isspace ((unsigned char) *s))
{
if (sq || dq)
continue;
*s++ = '\0';
- while (isspace (*s)) s++;
+ while (isspace ((unsigned char) *s)) s++;
if (*s)
res[++i] = s;
}