[liblouis-liblouisxml] Re: Fix for LOUIS-TABLEPATH search

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 08 Jun 2012 10:23:46 +0200

Hi John

"John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx> writes:

> The attached copy of compileTranslationTable.c has a fix that will 
> search LOUIS_TABLEPATH first, if it is defined. See the function 
> findTable. 

I added your code to my local checkout, but now it seems that it makes
matters worse. The multiple_table_path.pl test actually fails when
trying to find a table in test/tables/moreTables.

I think the code that was there before seemed to work quite well with
the exception that it would continue to search in the system path if a
table was faulty in the LOUIS_TABLEPATH. So there are probably two
things that would be nice if they were fixed: 1) don't search in the
system paths if LOUIS_TABLEPATH is defined and 2) don't keep searching
if you found a table but the table doesn't compile.

Thanks
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-----
Tag der offenen Tuer
Die SBS laedt Sie herzlich ein: 30. Juni 2012 von 9 bis 16 Uhr.
Mehr Informationen erhalten Sie unter www.sbs.ch/offenetuer
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] Re: Fix for LOUIS-TABLEPATH search - Christian Egli