Commit 01b6976c authored by Tom Lane's avatar Tom Lane

Fix unportable use of isspace().

Introduced in commit 11a020eb.
parent d6fa44fc
...@@ -442,7 +442,7 @@ pg_split_opts(char **argv, int *argcp, char *optstr) ...@@ -442,7 +442,7 @@ pg_split_opts(char **argv, int *argcp, char *optstr)
*/ */
while (*optstr) while (*optstr)
{ {
if (isspace(*optstr) && !last_was_escape) if (isspace((unsigned char) *optstr) && !last_was_escape)
break; break;
if (!last_was_escape && *optstr == '\\') if (!last_was_escape && *optstr == '\\')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment