Fix unportable use of isspace().

Introduced in commit 11a020eb6.
This commit is contained in:
Tom Lane 2014-09-01 18:37:45 -04:00
parent d6fa44fce7
commit 01b6976c13

View File

@ -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 == '\\')