Re: [sword-devel] LT locale in sword 1.5.9

2006-11-27 Thread Linas S.
Hi Joachim, It seems I'm still missing some libraries. I tried to recompile sword and got a message, that it could not find ustdio. Which of the libraries it belongs to? Linas On Sat, 25 Nov 2006 20:12:47 +0200, Joachim Ansorg <[EMAIL PROTECTED]> wrote: > Hm, > maybe the config is not lo

Re: [sword-devel] crashes with ciphering code

2006-11-27 Thread DM Smith
Joachim Ansorg wrote: >> zStr::getCompressedText calls >> strcpy(*buf, cacheBlock->getEntry(entry)); >> > > My fix for this would be (without digging deep into the sources) in line 438 > of zstr.cpp: > strncpy(*buf, cacheBlock->getEntry(entry), size); > This takes me way back. I

Re: [sword-devel] crashes with ciphering code

2006-11-27 Thread Joachim Ansorg
> zStr::getCompressedText calls > strcpy(*buf, cacheBlock->getEntry(entry)); My fix for this would be (without digging deep into the sources) in line 438 of zstr.cpp: strncpy(*buf, cacheBlock->getEntry(entry), size); strcpy expects a \0-terminated string. If the deciphering with the

[sword-devel] crashes with ciphering code

2006-11-27 Thread Martin Gruner
Hi Troy. I wrote you that we are having difficulties with BibleTime's stability since we use my dumb "check that the entered cipher key is valid" function, which basically just calls (*m_module) = sword::TOP; QString test = QString::fromLatin1( m_module->getRawEntryBuf().c_str() ); These line