[sword-devel] Personal commentary not working

Brook Humphrey sword-devel@crosswire.org
Mon, 9 Apr 2001 13:38:33 -0700


On Monday 09 April 2001 09:48, you wrote:
> Hi!
>
> You can move the commentary yourself.
> Create a directory called .sword and copy the personal.conf and the data
> files into it using the correct directory structure.
> I just fixed a bug, which prevented the commentaries to be saved to disk.
Thanks I've been wondering about this for a long time.


>
> Joachim
>
> > On Monday 09 April 2001 06:36, you wrote:
> > > Hi!
> >
> > How does the personal commentary work now? Just curious would it be
> > possible to have bibletime copy the personal commentaries to the useres
> > home directory and use them from there?
> >
> > > I made the personal commentary workign again.
> > > It was by two bugs:
> > > 	1. In rawfiles.cpp it was assumed that the path has a trailing alsh,
> > > but this was removed in StrKey (I think),
> > > 	2. The access function in FileMgr::sysOpen does only work for existing
> > > files, I added a check that it's only used if "O_CREAT" is not used in
> > > the open mode
> > >
> > > It works now for me.
> > > troy, I hope I made the changes correct.
> > >
> > > Joachim
> > >
> > > > The personal commentary is not working with current CVS of Sword:
> > > > Saving is not working (operator << of RawFiles).
> > > >
> > > > I think it's something wrong in FileMgr::sysOpen but I can't figure
> > > > out what is wrong.
> > > > Could somebody who knows how to fix it do it?
> > > >
> > > > Thank you!
> > > > Joachim