Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2000 13:38:13 -0500
From:      Chris Costello <chris@calldei.com>
To:        Alfred Perlstein <alfred@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/miscfs/fdesc fdesc_vnops.c
Message-ID:  <20000628133813.I20702@holly.calldei.com>
In-Reply-To: <20000628104758.Y275@fw.wintelcom.net>
References:  <200006272246.PAA76896@freefall.freebsd.org> <20000627223423.H20702@holly.calldei.com> <20000628104758.Y275@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <chris@calldei.com>
|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




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