lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Win32 Lynx


From: Bela Lubkin
Subject: Re: LYNX-DEV Win32 Lynx
Date: Mon, 17 Feb 1997 01:12:50 -0800

Wayne Buttles wrote:

> Located at http://www.fdisk.com/doslynx/wlynx/ are four files.  They
> should be:

> lynx.patch   A patchfile against Lynx2-7 to compile it for Win32 under
>              Borland C++ 4.52.

Regarding this patch...

Well, it's really rather low-impact in the first place.  Apparently the
Win32 development environment you're using is pretty close to
Unix/Posix.  Good.

A lot of the patch has to do with avoiding SIGHUP on Win32.  Is that
because the symbol SIGHUP isn't defined, or because it acts incorrectly?
In either case, it might be better to make a Lynx utility function (e.g.
LYsignal()) to encapsulate these differences.  The code already has
Linux avoiding SIGBUS and VMS mostly avoiding SIGINT.

If it's only that there is no such symbol as SIGHUP, the code should
probably read:

  #ifdef SIGHUP
  (void) signal(SIGHUP, ...);
  #endif /* SIGHUP */

which makes it generic.

>Bela<
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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