Fix unportable use of isspace().
Introduced in commit 11a020eb6.
This commit is contained in:
parent
d6fa44fce7
commit
01b6976c13
@ -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 == '\\')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user