projects
/
postgresql.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0400ae4
)
Portability fix: isdigit() must be passed an unsigned char.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 17 Apr 2025 20:33:21 +0000
(16:33 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 17 Apr 2025 20:33:21 +0000
(16:33 -0400)
Oversight in commit
40b9c2701
, per buildfarm member mamba.
src/bin/pg_dump/pg_restore.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_restore.c
b/src/bin/pg_dump/pg_restore.c
index c799ae91b392325c52eaaed20dec035d2c184df9..72916199e1348f4c2f0e5c428a6df88f017a1b42 100644
(file)
--- 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 == ' ')
{