[sword-devel] BUG: libSword hangs

Troy A. Griffitts sword-devel@crosswire.org
Tue, 30 Jul 2002 03:13:51 -0700


I think I have this and the @LINK bug fixed for RawLD drivers now.

	-Troy.



porton@narod.ru wrote:
> The following program hangs (bug in libSword, I now start a debugger):
> 
> #include <iostream>
> #include <rawld.h>
> 
> void main(int argc, char **argv)
> {
> 	RawLD::createModule("tmp/lextest");
> 	RawLD lex("tmp/lextest");
> 
> 	lex.SetKey("a");
> 	lex << "aaa";
> 
> 	lex.SetKey("a");
> 	lex.deleteEntry();
> 	
> 	lex.SetKey("a");
> 	lex << "aaa";
> 
> 	lex.SetKey("a");
> 	lex--;
> }
>