atom feed5 messages in org.freebsd.freebsd-currentRe: netscape problems
FromSent OnAttachments
dave adkinsDec 16, 1997 6:50 am 
dave adkinsDec 16, 1997 4:51 pm 
Garrett WollmanDec 16, 1997 7:22 pm 
dave adkinsDec 16, 1997 8:38 pm 
Garrett WollmanDec 17, 1997 6:50 am 
Subject:Re: netscape problems
From:Garrett Wollman (woll@khavrinen.lcs.mit.edu)
Date:Dec 16, 1997 7:22:03 pm
List:org.freebsd.freebsd-current

<<On Tue, 16 Dec 1997 18:51:42 -0600 (CST), dave adkins <adki@tc.umn.edu>
said:

system with vop_nopoll (ufs_vnops.c) the problem goes away. It looks like as far as netscape 4.04 is concerned vop_stdpoll confuses the select function. BTW, i failed to mention that the system is SMP.

It's probably bogusly expecting to poll on a file. Hmmm... I guess I did break the interface slightly.

Try adding this code to vop_stdpoll:

if ((ap->a_events & ~POLLSTANDARD) == 0) return ((ap->a_events & (POLLRDNORM|POLLWRNORM)));

That will restore the old behavior of always returning true for those requests. If that fixes it...

-GAWollman