lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev connect_time patch


From: Frédéric L . W . Meunier
Subject: Re: lynx-dev connect_time patch
Date: Thu, 1 May 2003 11:41:53 -0300 (E. South America Standard Time)

On Wed, 30 Apr 2003, Thomas Dickey wrote:

> >
> > On Mon, 28 Apr 2003, Thomas Dickey wrote:
> >
> > > On Mon, Apr 28, 2003 at 09:27:22PM +0200, Gisle Vanem wrote:
> > > > "Leonid Pauzner" <address@hidden> said:
> > > >
> > > > > 4-Apr-2003 13:56 Gisle Vanem wrote:
> > > > >
> > > > > > Patch in lyutils.c: undef "select" in case Lynx is compiled with
> > > > > > curses (and not S-Lang). Watt-32's select_s cannot be used on a
> > > > > > stdin handle, so one must undef it and use djgpp's select().
> > > > >
> > > > > BTW, with this only patch, DJGPP compiled lynx lose nearly 50% 
> > > > > performance,
> > > > > tested on huge local file. Native DJGPP select() seems too 
> > > > > inefficient.
> > > >
> > > > That's because Lynx is inefficient in testing stdin for a keypress.
> > > > It calls select() on the full FD_SETSIZE (255) fds. djgpp's select() 
> > > > does
> > > > loop over all fd's even only fd 0 is set in readfds (as it should do).
> > >
> > > that's true - I've not gotten around to changing it before, since I'm
> > > puzzled whether it was done to accommodate some (perhaps now-obsolete)
> > > variation of select() that required that.
> >
> > The same on Cygwin ? I at least noticed some things run very
> > slow.
>
> perhaps (it's simple enough to change & prove whether it is a factor).

And it crashed 3 times. I moved back to 2.8.5dev.14 and it
doesn't. I don't know if it's a Cygwin bug.

I attached what I got with drwtsn32.

The Event log has

Faulting application lynx.exe, version 0.0.0.0, faulting module
cygwin1.dll, version 1003.22.0.0, fault address 0x0004061f.

The application, E:\cygwin\usr\local\bin\lynx.exe, generated an
application error The error occurred on 04/30/2003 @
20:28:27.322 The exception generated was c0000005 at address
6104061F (cygwin1!mktime)

The 3 crashes are identical. 0x0004061f, c0000005, and 6104061F
(cygwin1!mktime).

-- 
address@hidden, dyndns.org}

Attachment: lynx.txt.gz
Description: GNU Zip compressed data


reply via email to

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