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

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Tue, 16 Jul 2013 16:09:19 -0500

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: