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:
@ -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;
|
||||
|
Reference in New Issue
Block a user