From 01b6976c13a9cf87f3c6767c9722576166c1b081 Mon Sep 17 00:00:00 2001 From: Tom Lane <tgl@sss.pgh.pa.us> Date: Mon, 1 Sep 2014 18:37:45 -0400 Subject: [PATCH] Fix unportable use of isspace(). Introduced in commit 11a020eb6. --- src/backend/utils/init/postinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 304be047892..f5a6a671349 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -442,7 +442,7 @@ pg_split_opts(char **argv, int *argcp, char *optstr) */ while (*optstr) { - if (isspace(*optstr) && !last_was_escape) + if (isspace((unsigned char) *optstr) && !last_was_escape) break; if (!last_was_escape && *optstr == '\\') -- GitLab