1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Fix some more compatibility issues (ctype.h macros must never be passed

signed chars...)
This commit is contained in:
Tom Lane
2004-04-02 00:41:18 +00:00
parent eeaef25ad6
commit 89ee5b89a6
3 changed files with 14 additions and 13 deletions

View File

@ -37,14 +37,14 @@ findwrd(char *in, char **end)
char *start;
*end = NULL;
while (*in && isspace(*in))
while (*in && isspace((unsigned char) *in))
in++;
if (!in)
return NULL;
start = in;
while (*in && !isspace(*in))
while (*in && !isspace((unsigned char) *in))
in++;
*end = in;