mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Fix unportable use of isspace(), per buildfarm results.
This commit is contained in:
parent
78c84ad49e
commit
c11b8dcdbb
@ -48,7 +48,7 @@ readstoplist(text *in, StopList * s)
|
||||
while (fgets(buf, sizeof(buf), hin))
|
||||
{
|
||||
pbuf = buf;
|
||||
while( *pbuf && !isspace( *pbuf ) )
|
||||
while( *pbuf && !isspace((unsigned char) *pbuf ) )
|
||||
pbuf++;
|
||||
*pbuf = '\0';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user