Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Alex] Spellcheck soundex infinite loop?

Quote Reply
Re: [Alex] Spellcheck soundex infinite loop? In reply to
Well I had reduced my message down to just "Ahh" and found that was the cause of the error. So the code reports:

Checking $VAR1 = [ 'ahh' ];

I did a little more checking and it looks as though it might be trying to sysseek to a negative position and my version of perl doesn't like that (v5.6.1 built for i386-freebsd), although I'm not really sure. You could confirm that by print out the value of (current * record_size) in between these lines.

$current--;
sysseek $self->{SOUNDEX}, ($current * $record_size), 0;

The same runs fine on my local machine, but not on my freebsd box.
Subject Author Views Date
Thread Spellcheck soundex infinite loop? dave-itools 2101 Oct 23, 2002, 11:17 AM
Post Re: [dave-itools] Spellcheck soundex infinite loop?
yogi 2034 Oct 23, 2002, 12:07 PM
Thread Re: [dave-itools] Spellcheck soundex infinite loop?
Alex 1988 Oct 25, 2002, 3:38 PM
Post Re: [Alex] Spellcheck soundex infinite loop?
dave-itools 1968 Nov 1, 2002, 3:37 PM