Portability fix: isdigit() must be passed an unsigned char.
Oversight in commit 40b9c2701, per buildfarm member mamba.
This commit is contained in:
parent
0400ae4a68
commit
4aad2cb770
@ -1073,7 +1073,7 @@ get_dbname_oid_list_from_mfile(const char *dumpdirpath, SimplePtrList *dbname_oi
|
|||||||
char *p = linebuf.data;
|
char *p = linebuf.data;
|
||||||
|
|
||||||
/* Extract dboid. */
|
/* Extract dboid. */
|
||||||
while (isdigit(*p))
|
while (isdigit((unsigned char) *p))
|
||||||
p++;
|
p++;
|
||||||
if (p > linebuf.data && *p == ' ')
|
if (p > linebuf.data && *p == ' ')
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user