lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev HTCheckForInterrupt mess (was: Batch makefile for MingW32 and W


From: Klaus Weide
Subject: lynx-dev HTCheckForInterrupt mess (was: Batch makefile for MingW32 and Windows)
Date: Wed, 10 Nov 1999 04:44:02 -0600 (CST)

On Tue, 9 Nov 1999 address@hidden wrote:
[kw:]
> >>I would compare the 2.8.2 version of HTCheckForInterrupt with the
> >>current one, esp. w.r.t. ifdef'ing.
> 
> The problem was indeed in the function that you suggest:  It is an
> 
> #ifndef _WINDOWS
> #ifdef USE_SLANG
> 
> that should read:
> 
> #ifdef _WINDOWS
> #ifdef USE_SLANG
> 
> Once you correct the strange misspelling of ifndef above, you get a
> working - and stable - lynx.exe for both slang and pdcurses.  

It's more than a strange misspelling.  If you just change the 'ifndef'
to 'ifdef', the result is that the code thet should be used for Unix
(at least) gets skipped.  That's certainly not the right way to correct
it.

Someone, it seems, forgot to provide an '#else' branch for _WINDOWS.
Maybe the

  #if defined (DOSPATH) && defined (NCURSES)
      nodelay(stdscr,TRUE);
  #endif /* DOSPATH */

stuff that follows is supposed to be a substitute for that, in
some way.
It is something you _WINDOWS / DOSPATH guys have to sort out
(It seems you can't even agree on which preprocessor symbols
to test...), but at least don't take the UNIX and VMS code
with you into the chaos.

> I posted
> the pdcurses version of November 3 source on alt.binaries.misc, just so
> you can see this.

Sorry - that may be a time-honored method for distributing stuff, but
don't expect that it is today usable for most folks.  (You really
should get 'diff'.)

  Klaus


reply via email to

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