[sword-devel] BUG: libSword hangs

sword-devel@crosswire.org sword-devel@crosswire.org
Tue, 30 Jul 2002 04:00:55 +0600


Let one who has written the code without comments debug it... ;-)

> 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--;
> }
> 
> -- 
> Victor Porton (porton@ex-code.com)
> 
> 

-- 
Victor Porton (porton@ex-code.com)


-- 
Victor Porton (porton@ex-code.com)