mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Portability fix: isdigit() must be passed an unsigned char.
Oversight in commit 40b9c2701
, per buildfarm member mamba.
This commit is contained in:
@ -1073,7 +1073,7 @@ get_dbname_oid_list_from_mfile(const char *dumpdirpath, SimplePtrList *dbname_oi
|
||||
char *p = linebuf.data;
|
||||
|
||||
/* Extract dboid. */
|
||||
while (isdigit(*p))
|
||||
while (isdigit((unsigned char) *p))
|
||||
p++;
|
||||
if (p > linebuf.data && *p == ' ')
|
||||
{
|
||||
|
Reference in New Issue
Block a user