projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78c84ad
)
Fix unportable use of isspace(), per buildfarm results.
author
Tom Lane
Sun, 15 Jul 2007 22:32:53 +0000
(22:32 +0000)
committer
Tom Lane
Sun, 15 Jul 2007 22:32:53 +0000
(22:32 +0000)
contrib/tsearch2/stopword.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/tsearch2/stopword.c
b/contrib/tsearch2/stopword.c
index 2165bb68ddc4ce05b2fb00e89425e5d49f004db0..5f6d56bce30f496bacc961c3c12da23662f2ba46 100644
(file)
--- 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';