From owner-cvs-all Wed Jun 28 11:45:13 2000 Delivered-To: cvs-all@freebsd.org Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by hub.freebsd.org (Postfix) with ESMTP id AA30137B63E; Wed, 28 Jun 2000 11:45:09 -0700 (PDT) (envelope-from chris@holly.calldei.com) Received: from holly.calldei.com ([208.191.149.190]) by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FWV00BWHNVCLD@mta4.rcsntx.swbell.net>; Wed, 28 Jun 2000 13:40:25 -0500 (CDT) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id NAA58944; Wed, 28 Jun 2000 13:38:14 -0500 (CDT envelope-from chris) Date: Wed, 28 Jun 2000 13:38:13 -0500 From: Chris Costello Subject: Re: cvs commit: src/sys/miscfs/fdesc fdesc_vnops.c In-reply-to: <20000628104758.Y275@fw.wintelcom.net> To: Alfred Perlstein Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Reply-To: chris@calldei.com Message-id: <20000628133813.I20702@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <200006272246.PAA76896@freefall.freebsd.org> <20000627223423.H20702@holly.calldei.com> <20000628104758.Y275@fw.wintelcom.net> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, June 28, 2000, Alfred Perlstein wrote: > so basically change: > vap->va_type = VFIFO; > > to: > vap->va_type = VNON; > > and fix the long line? You should bzero stb before you call fo_stat. Then just set vap->va_type to IFTOVT(stb.st_mode)--if the fo_stat() call did not set st_mode, va_type will be VNON. You just need to change kqueue_stat to set st->st_mode to S_IFIFO. -- |Chris Costello |QUASIMOTO - 4 wheeled hard-top moped made in France. `---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message