[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Re: lynx NSL_FORK patch
From: |
Tomasz Jan Cholewo |
Subject: |
LYNX-DEV Re: lynx NSL_FORK patch |
Date: |
Mon, 4 Nov 1996 19:30:18 -0500 (EST) |
Tom Zerucha wrote:
> Please forward this to the lynx-dev mailing list (see the READMEs in
> the compilation) if you have not already done so. I will update my
> patch when I get a chance. Thanks for tracking it down - I can't test
> every flavor of UNIX.
>
> On Sat, 2 Nov 1996, Tomasz Jan Cholewo wrote:
>
> > Hi,
> >
> > The NSL_FORK patch didn't work for me on IRIX 6.2. The reason was that
> > the call (lynx2-6rp + lynx2-6.1028.all):
> >
> > HTTCP.c:494 ioctl( pfd[0], FIONREAD, &cstat );
> >
> > returns zero in cstat. Changing this call to I_NREAD from <stropts.h>
> > didn't help. The following patch somehow makes things work by forcing
> > 'read' to get 4 bytes no matter what:
> >
> > --- lynx2-6.work/WWW/Library/Implementation/HTTCP.c Sat Nov 2 20:53:08
> > 1996
> > +++ lynx2-6/WWW/Library/Implementation/HTTCP.c Sat Nov 2 20:48:28 1996
> > @@ -493,7 +493,7 @@
> > /* read as much as we can - should be the address */
> > ioctl( pfd[0], FIONREAD, &cstat );
> >
> > -#if defined(VMS) && defined(CMU_TCP)
> > +#if (defined(VMS) && defined(CMU_TCP)) || defined(sgi)
> >
> > /* from the original - tz */
> >
> >
> > I have no way of checking if other IRIX versions have the same problem,
> > so this solution may have to be made a bit more specific.
> >
> > Thanks for a good job on this patch. I can only wish other browsers
> > would allow interrupting name lookups too.
> >
> > Sincerely,
> > Tomasz Cholewo
> >
> >
>
> address@hidden
> finger address@hidden for PGP key
>
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LYNX-DEV Re: lynx NSL_FORK patch,
Tomasz Jan Cholewo <=