Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 1997 22:22:24 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        dave adkins <adkin003@tc.umn.edu>
Cc:        current@FreeBSD.ORG
Subject:   Re: netscape problems
Message-ID:  <199712170322.WAA14173@khavrinen.lcs.mit.edu>
In-Reply-To: <Pine.NEB.3.96.971216184337.1118A-100000@samthedog>
References:  <Pine.NEB.3.96.971216084236.1043A-100000@samthedog> <Pine.NEB.3.96.971216184337.1118A-100000@samthedog>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 16 Dec 1997 18:51:42 -0600 (CST), dave adkins <adkin003@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

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712170322.WAA14173>