[liblouis-liblouisxml] Re: MAXNAMELEN 256

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 18 Sep 2012 05:10:25 -0500

Hi Bert,

Did you make the commit? I haven't seen a notice. I can make the change 
if you wish. is 1024 long enough or should it be 2048? 

John

On Mon, Sep 17, 2012 at 11:08:41AM -0500, John J. Boyer wrote:
> Sure. Go ahead and commit. I don't think there will be problems.
> 
> John
> 
> On Mon, Sep 17, 2012 at 05:19:33PM +0200, Bert Frees wrote:
> > Hi John,
> > 
> > I'm having a little issue using liblouisutdml in the Pipeline. 
> > Sometimes, the path name of the directory where the config files are 
> > stored becomes large, for example:
> > 
> > /home/frees/dev/pipeline/pipeline-assembly/target/pipeline2-1.3-beta/daisy-pipeline/data/a4db8abc-edc9-45bb-a524-13bc9ba277a2/output/temp-dir
> > 
> > If the length of the path exceeds a certain value, liblouisutdml 
> > crashes. Changing MAXNAMELEN from 256 to 1024 or 2048 (louisutdml.h line 
> > 103) fixes the problem. Is it okay to commit? I don't know what the 
> > other effects would be.
> > 
> > Thanks,
> > Bert
> 
> -- 
> John J. Boyer; President, Chief Software Developer
> Abilitiessoft, Inc.
> http://www.abilitiessoft.com
> Madison, Wisconsin USA
> Developing software for people with disabilities
> 
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: