/[pcre]/code/trunk/pcre_ucp_searchfuncs.c
ViewVC logotype

Diff of /code/trunk/pcre_ucp_searchfuncs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 368 by ph10, Fri Jul 4 18:27:16 2008 UTC revision 369 by ph10, Sun Aug 24 16:53:47 2008 UTC
# Line 161  makes things a lot slower. */ Line 161  makes things a lot slower. */
161    
162  for (;;)  for (;;)
163    {    {
164    if (top <= bot) return -1;    if (top <= bot) return (unsigned int)(-1);
165    mid = (bot + top) >> 1;    mid = (bot + top) >> 1;
166    if (c == (ucp_table[mid].f0 & f0_charmask)) break;    if (c == (ucp_table[mid].f0 & f0_charmask)) break;
167    if (c < (ucp_table[mid].f0 & f0_charmask)) top = mid;    if (c < (ucp_table[mid].f0 & f0_charmask)) top = mid;

Legend:
Removed from v.368  
changed lines
  Added in v.369

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12