[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev dev.22 - USE_PSRC crash
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev dev.22 - USE_PSRC crash |
Date: |
Wed, 14 Apr 1999 00:17:09 +0400 (MSD) |
13-Apr-99 15:40 address@hidden wrote:
>>
>> dev22 can't build with USE_PSRC *and* without USE_COLOR_STYLE,
>> an obvious fix below:
> as I understood it, USE_PSRC wasn't workable w/o color-style.
It *is* workable w/o color-style (according to CHANGES, and I test it OK),
I guess last-minute changes was not tested in this configuration.
>> diff -u old/sgml.c ./sgml.c
>> --- old/sgml.c Tue Apr 13 02:39:16 1999
>> +++ ./sgml.c Tue Apr 13 20:19:56 1999
>> @@ -34,6 +34,8 @@
>>
>> #ifdef USE_COLOR_STYLE
>> # include <LYStyle.h>
>> +#endif
>> +#ifdef USE_PSRC
>> # include <LYPrettySrc.h>
>> #endif
>>
>>
>> diff -u old/html.c ./html.c
>> --- old/html.c Tue Apr 13 02:39:16 1999
>> +++ ./html.c Tue Apr 13 19:18:02 1999
>> @@ -49,12 +49,15 @@
>> #include <LYCurses.h>
>> #endif /* VMS */
>>
>> +#ifdef USE_PSRC
>> +#include <LYPrettySrc.h>
>> +#endif
>> +
>> #ifdef USE_COLOR_STYLE
>> #include <SGML.h>
>> #include <AttrList.h>
>> #include <LYHash.h>
>> #include <LYStyle.h>
>> -#include <LYPrettySrc.h>
>> #undef SELECTED_STYLES
>> #define pHText_changeStyle(X,Y,Z) {}
>>
>>
> --
> Thomas E. Dickey
> address@hidden
> http://www.clark.net/pub/dickey