diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-07-15 22:32:53 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-07-15 22:32:53 +0000 |
commit | c11b8dcdbba12ba77520a7486c012945a335dbd3 (patch) | |
tree | e0e67bdd330ea5ade097ecabdd90de9e53b91137 | |
parent | 78c84ad49eeb12c67797e5acb3cf637a59601ce2 (diff) | |
download | postgresql-c11b8dcdbba12ba77520a7486c012945a335dbd3.tar.gz postgresql-c11b8dcdbba12ba77520a7486c012945a335dbd3.zip |
Fix unportable use of isspace(), per buildfarm results.
-rw-r--r-- | contrib/tsearch2/stopword.c | 2 |
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'; |