projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6fa44f
)
Fix unportable use of isspace().
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 1 Sep 2014 22:37:45 +0000
(18:37 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 1 Sep 2014 22:37:45 +0000
(18:37 -0400)
Introduced in commit
11a020eb6
.
src/backend/utils/init/postinit.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/init/postinit.c
b/src/backend/utils/init/postinit.c
index 304be047892c663f665477bbb3f69e71a22a124a..f5a6a671349d8b5556af0b7bfd71aacea755099c 100644
(file)
--- 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 == '\\')