Commit c11b8dcd authored by Tom Lane's avatar Tom Lane

Fix unportable use of isspace(), per buildfarm results.

parent 78c84ad4
...@@ -48,7 +48,7 @@ readstoplist(text *in, StopList * s) ...@@ -48,7 +48,7 @@ readstoplist(text *in, StopList * s)
while (fgets(buf, sizeof(buf), hin)) while (fgets(buf, sizeof(buf), hin))
{ {
pbuf = buf; pbuf = buf;
while( *pbuf && !isspace( *pbuf ) ) while( *pbuf && !isspace((unsigned char) *pbuf ) )
pbuf++; pbuf++;
*pbuf = '\0'; *pbuf = '\0';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment