On Fri, 19 Mar 1999, Allan Rae wrote:

> On Fri, 19 Mar 1999 [EMAIL PROTECTED] wrote:
> > Modified Files:
> >     lstrings.h 
> > Log Message:
> > fixed that pesky segfault that occurred while loading files
> 
> There is still a problem with identifying some tags but for the most
> part your documents will load and LyX will work.  Remember old style
> tables (2.15) will still crash lyx.  IIRC, you just need to modify the
> .lyx file to have a table Inset.

Lars,  if it is required by Posix to use toupper() for the character
comparisons then I found the remaining problem.  All our tag arrays like
lyxrcTags are sorted according to lowercase ordering (ie. tolower()).

I've checked the man pages for strcasecmp on Solaris 2.5 and linux but
neither specifically states that its implementation is posix compliant or
whether toupper or tolower is used.  The character causing all the
remaining problems is the '_' which appears between the upper and lower
case letters in ASCII.

So, do I resort all the tag arrays or do you change toupper() to tolower()
in compare_no_case() ?

Allan. (ARRae)

Reply via email to