mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Fix unportable use of isspace(), per buildfarm results.
This commit is contained in:
@ -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';
|
||||
|
||||
|
Reference in New Issue
Block a user