[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev dev.22 - USE_PSRC crash
From: |
dickey |
Subject: |
Re: lynx-dev dev.22 - USE_PSRC crash |
Date: |
Tue, 13 Apr 1999 19:14:36 -0400 (EDT) |
>
> 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.
no - I tested what I did, but (I don't see that CHANGES says it would work
w/o color style, and from the email that Vlad sent I had this impression.
So I made those changes as part of integrating with the configure script.
(It may be incorrect, but it was intentional)
>
> >> 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
>
>
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey