Gary,
Thanks again for tracking this down and reporting the problem. I just
looked at your comment and it does look like this would be a good fix.
The oddity is that it looks the bug stems from the Personal module. The
RawFiles::createModule method does the right thing and create the
increment
Troy,
Looking at getNextFilename more, it seems that it should skip reading
the file if it did not open and go on with writing the incfile a few
lines later.
Gary
On 2/11/2011 7:39 PM, Gary Holmlund wrote:
Troy,
In Rawfiles::getNextFilename() it is opening this file to read it.
"C:\Progra
Troy,
In Rawfiles::getNextFilename() it is opening this file to read it.
"C:\ProgramData\Application
Data\Sword/modules/comments/rawfiles/personal/incfile"
The problem is that this file does not exist. I am not sure when this
file should have been created.
Gary
On 2/11/2011 5:49 PM, Troy
Hey Gary,
Thanks for the report. The problem with your patch is that it doesn't
actually fix the problem. read should fail if you try to read from an
invalid file descriptor. The problem is that it sounds like the
RawFiles driver has a bug which is reading from an invalid file descriptor.
Does
Hi,
I just rediscovered a sword bug that I told you about over a year ago.
For Bibletime it crashes the program when you try to use the Personal
Commentary in write mode on Windows.
I upgraded to Sword 1.62 recently and this caused the bug to occur
again. I had been using a patched version o
Hi,
I am working on BibleTime for Windows and we found and fixed a crash in
the sword library. I have attached a patch for the HEAD of sword svn. We
are using the 1.60 version of sword.
The crash occurs when trying to save to a personal commentary for the
first time. Sword is looking for the