From c11b8dcdbba12ba77520a7486c012945a335dbd3 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 15 Jul 2007 22:32:53 +0000 Subject: [PATCH] Fix unportable use of isspace(), per buildfarm results. --- contrib/tsearch2/stopword.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.39.5