Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 12:44:16 -0600
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        wollman@FreeBSD.org, net@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: fifo fix (Re: cvs commit: src/sys/fs/fifofs fifo_vnops.c)
Message-ID:  <20011221124416.T48837@elvis.mu.org>
In-Reply-To: <20011222011614.C4869-100000@gamplex.bde.org>; from bde@zeta.org.au on Sat, Dec 22, 2001 at 01:27:32AM %2B1100
References:  <20011218111531.A59831@elvis.mu.org> <20011222011614.C4869-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Bruce Evans <bde@zeta.org.au> [011221 08:27] wrote:
> 
> I think it should be more like:
> 
> 	if (ap->a_events & POLLIN)
> 		ap->a_events = (ap->a_events & ~POLLIN) | POLLIN_IGNORE_EOF;
> 
> We can't pass in flags that we don't really care about (POLLIN in
> this case) since they will cause side effects (selrecord()...).
> 
> I might actually use a new variable instead of changing `ap'.

Ok, I'll get this working on my way up to Tahoe. :)

Thanks for the advice.

-Alfred

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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