Fix unportable use of isspace().

Introduced in commit 11a020eb6.
pull/14/head
Tom Lane 11 years ago
parent d6fa44fce7
commit 01b6976c13
  1. 2
      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 == '\\')

Loading…
Cancel
Save