[brailleblaster] Re: Open File Handle for liblouisutdml.log

  • From: Brandon Roller <brandon.r.roller@xxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Wed, 17 Jul 2013 08:33:14 -0400

I assume it is lbu_free because free is called by the liblouisutdml
instance before BB exits.
However, in order to delete the log file, the liblouisutdml instance has to
call logEnd also in so the the file can be delted.


On Tue, Jul 16, 2013 at 5:09 PM, John J. Boyer <john.boyer@xxxxxxxxxxxxxxxxx
> wrote:

> Brandon,
>
> I just noticed that you mention lou_free. It should be lbu_free . That
> is for liblouisutdml, which in turn calls lou_free at the appropriaate
> point.
>
> John
>
> On Tue, Jul 16, 2013 at 03:59:12PM -0500, John J. Boyer wrote:
> > This should be handled by liblouisutdml. BrailleBlaster should not have
> > to worry about it. Well, I guess it's another bug.
> >
> > John
> >
> > On Tue, Jul 16, 2013 at 03:33:43PM -0400, Brandon Roller wrote:
> > > OK, putting lou_logEnd before the call to lou_free works, but is this
> the
> > > best way to free the log?
> > > So is this something that BB should be responsible for or should this
> be
> > > handled by liblouisutdml or liblouis?
> > >
> > >
> > >
> > > On Tue, Jul 16, 2013 at 3:21 PM, John J. Boyer <john@xxxxxxxxxxxxxx>
> wrote:
> > >
> > > > The log may contain messages from both liblouisutdml and liblouis.
> There
> > > > are methods in FileUtils for displaying it in the Gui or at the
> command
> > > > line. The latter method used to work. translateFile and other methods
> > > > are supposed to close the log file when they finish. This is done by
> > > > calling lou_logEnd
> > > >
> > > > John
> > > >
> > > > On Tue, Jul 16, 2013 at 03:13:45PM -0400, Brandon Roller wrote:
> > > > > There is still an open file handle for liblouisutdml.log in the
> temp
> > > > > folder.  The file can't be deleted when exiting the program.  Is
> this log
> > > > > being used by both liblouisutdml and liblouis?
> > > >
> > > > --
> > > > John J. Boyer, Executive Director
> > > > GodTouches Digital Ministry, Inc.
> > > > http://www.godtouches.org
> > > > Madison, Wisconsin, USA
> > > > Peace, Love, Service
> > > >
> > > >
> > > >
> >
> > --
> > John J. Boyer; President, Chief Software Developer
> > Abilitiessoft, Inc.
> > http://www.abilitiessoft.com
> > Madison, Wisconsin USA
> > Developing software for people with disabilities
> >
>
> --
> John J. Boyer; President, Chief Software Developer
> Abilitiessoft, Inc.
> http://www.abilitiessoft.com
> Madison, Wisconsin USA
> Developing software for people with disabilities
>
>
>

Other related posts: