Skip to content

Commit 01b6976

Browse files
committed
Fix unportable use of isspace().
Introduced in commit 11a020e.
1 parent d6fa44f commit 01b6976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/init/postinit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ pg_split_opts(char **argv, int *argcp, char *optstr)
442442
*/
443443
while (*optstr)
444444
{
445-
if (isspace(*optstr) && !last_was_escape)
445+
if (isspace((unsigned char) *optstr) && !last_was_escape)
446446
break;
447447

448448
if (!last_was_escape && *optstr == '\\')

0 commit comments

Comments
 (0)