Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4aad2cb

Browse files
committed
Portability fix: isdigit() must be passed an unsigned char.
Oversight in commit40b9c27, per buildfarm member mamba.
1 parent0400ae4 commit4aad2cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_dump/pg_restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ get_dbname_oid_list_from_mfile(const char *dumpdirpath, SimplePtrList *dbname_oi
10731073
char*p=linebuf.data;
10741074

10751075
/* Extract dboid. */
1076-
while (isdigit(*p))
1076+
while (isdigit((unsignedchar)*p))
10771077
p++;
10781078
if (p>linebuf.data&&*p==' ')
10791079
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp