Content-Length: 259113 | pFad | http://github.com/postgrespro/postgres/commit/01b6976c13a9cf87f3c6767c9722576166c1b081

DE Fix unportable use of isspace(). · postgrespro/postgres@01b6976 · GitHub
Skip to content

Commit 01b6976

Browse files
committed
Fix unportable use of isspace().
Introduced in commit 11a020e.
1 parent d6fa44f commit 01b6976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/init/postinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ pg_split_opts(char **argv, int *argcp, char *optstr)
442442
*/
443443
while (*optstr)
444444
{
445-
if (isspace(*optstr) && !last_was_escape)
445+
if (isspace((unsigned char) *optstr) && !last_was_escape)
446446
break;
447447

448448
if (!last_was_escape && *optstr == '\\')

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/01b6976c13a9cf87f3c6767c9722576166c1b081

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy