[Zope-Checkins] CVS: Zope2 - Splitter.c:1.15
Brian Lloyd
brian@digicool.com
Fri, 16 Mar 2001 11:57:39 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/SearchIndex
In directory korak:/home/brian/temp/mainline_test/lib/python/SearchIndex
Modified Files:
Splitter.c
Log Message:
merged
--- Updated File Splitter.c in package Zope2 --
--- Splitter.c 2000/11/01 14:20:02 1.14
+++ Splitter.c 2001/03/16 16:57:38 1.15
@@ -225,11 +225,11 @@
if ((i > 0) && (*here == '-'))
{
here++;
- while (isspace(*here) && (here < end)) here++;
+ while (isspace((unsigned char) *here) && (here < end)) here++;
continue;
}
- c=tolower(*here);
+ c=tolower((unsigned char) *here);
/* Check to see if this character is part of a word */
if(isalnum((unsigned char)c) || c=='/')