mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Portability fixes
dbug/dbug.c: Portability fix include/heap.h: Portability fix strings/conf_to_src.c: Portability fix
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user