apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bp...@pacbell.net>
Subject Re: match_boyer_moore_horspool() looping on icarus
Date Fri, 24 May 2002 01:10:00 GMT
Cliff Woolley wrote:

>And yes, s_next *is* less than s_end.  So the question is: why doesn't
>s_next get incremented?
>
>(gdb) p *s_next
>$3 = -71 ''
>(gdb) p shift[*s_next]
>$4 = 0
>
>Ah.  Oops.
>
>(Note that -71 is a non-printable superscript 1 or something.)
>
>Perhaps s_next needs to be unsigned?
>

Thanks for catching that.  I've just committed a change to
make it unsigned.

--Brian



Mime
View raw message