aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-07-15 22:32:53 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-07-15 22:32:53 +0000
commitc11b8dcdbba12ba77520a7486c012945a335dbd3 (patch)
treee0e67bdd330ea5ade097ecabdd90de9e53b91137
parent78c84ad49eeb12c67797e5acb3cf637a59601ce2 (diff)
downloadpostgresql-c11b8dcdbba12ba77520a7486c012945a335dbd3.tar.gz
postgresql-c11b8dcdbba12ba77520a7486c012945a335dbd3.zip
Fix unportable use of isspace(), per buildfarm results.
-rw-r--r--contrib/tsearch2/stopword.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/stopword.c b/contrib/tsearch2/stopword.c
index 2165bb68ddc..5f6d56bce30 100644
--- a/contrib/tsearch2/stopword.c
+++ b/contrib/tsearch2/stopword.c
@@ -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';