aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2025-04-17 16:33:21 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2025-04-17 16:33:21 -0400
commit4aad2cb7707dfb239eaaad29a8a7155027d8e8b8 (patch)
treec9112fbe6fb0840ec53948dcbb489cc56af3bad2 /src
parent0400ae4a68831250347407463453447daa9548df (diff)
downloadpostgresql-4aad2cb7707dfb239eaaad29a8a7155027d8e8b8.tar.gz
postgresql-4aad2cb7707dfb239eaaad29a8a7155027d8e8b8.zip
Portability fix: isdigit() must be passed an unsigned char.
Oversight in commit 40b9c2701, per buildfarm member mamba.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c
index c799ae91b39..72916199e13 100644
--- a/src/bin/pg_dump/pg_restore.c
+++ b/src/bin/pg_dump/pg_restore.c
@@ -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 == ' ')
{