1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Portability fixes

This commit is contained in:
monty@hundin.mysql.fi
2001-08-30 10:51:36 +03:00
parent 3fb423fe39
commit 6000cd213a
3 changed files with 5 additions and 5 deletions

View File

@ -80,7 +80,7 @@ print_array(FILE *f, const char *set, const char *name, int n)
endptr = p;
for (;;)
{
while (isspace(*endptr))
while (isspace((* (unsigned char*) endptr)))
++endptr;
if (*endptr && *endptr != '#') /* not comment */
break;
@ -90,7 +90,7 @@ print_array(FILE *f, const char *set, const char *name, int n)
}
p = val;
while (!isspace(*endptr))
while (!isspace((* (unsigned char*) endptr)))
*p++ = *endptr++;
*p = '\0';
p = endptr;