lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Lynx 2.8.3.dev8: CPU problems connecting to a site


From: T.E.Dickey
Subject: Re: lynx-dev Lynx 2.8.3.dev8: CPU problems connecting to a site
Date: Sun, 29 Aug 1999 15:03:07 -0400 (EDT)

> On Sun, 29 Aug 1999, Frederic L . W . Meunier wrote: 
>  
> > #2  0x80da255 in UCGetLYhndl_byMIME (value=0x8146dbf "windows-1252") 
> >     at ../../src/UCdomap.c:1641 
> > #3  0x80d9f91 in UCGetLYhndl_byMIME (value=0x83934c0 "cp1252") 
> >     at ../../src/UCdomap.c:1594 
> > #4  0x80da271 in UCGetLYhndl_byMIME (value=0x8146dbf "windows-1252") 
> >     at ../../src/UCdomap.c:1644 
> > #5  0x80d9f91 in UCGetLYhndl_byMIME (value=0x83934b0 "cp1252") 
> >     at ../../src/UCdomap.c:1594 
>  
> Non-terminating recursion in UCGetLYhndl_byMIME, looking for a charset 
> that apparently is now unrecognized because it was not compiled in. 

yes - I did not anticipate bug reports before we'd gotten around to talking
about the configure option - my patch only addressed the problem of constructing
ifdef's for the 40-odd tables.  Individual chunks of code will still have to
be ifdef'd to work with the new symbols...

> In UCdomap.c, find the lines 
>  
>     if (!strncasecomp(value, "windows-", 8) && 
>         isdigit((unsigned char)value[8]) && 
>         isdigit((unsigned char)value[9]) && 
>         isdigit((unsigned char)value[10])) { 
>  
> and change them to 
>  
>     if (!strncasecomp(value, "windows-", 8) && 
>         isdigit((unsigned char)value[8]) && 
>         isdigit((unsigned char)value[9]) && 
>         isdigit((unsigned char)value[10]) && 
>       strcmp(&value[8], "1252") && strcmp(&value[8], "1250")) { 
>  
> This is untested and may not be the best way, but it should work 
> to avoid the problem. 
>  
> Alternatively, make sure the windows-1252 and windows-1250 charsets 
> are configured in.  (I haven't downloaded dev.8 yet, so don't know how 
> to do that.) 

by default, everything is compiled in as before.  I modified makeuctb to
add symbols which can be overridden via the configure script (when the
configure script overrides, it turns off all charsets except those which
are selected).

>    Klaus 


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]