Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 11:22:45 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Mike Barcroft <mike@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: alpha tinderbox failure
Message-ID:  <Pine.NEB.3.96L.1030106112126.97146B-100000@fledge.watson.org>
In-Reply-To: <20030106104536.C24442@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 6 Jan 2003, Mike Barcroft wrote:

> These new truncated lines only make problems harder to solve. 
> 
> Anyway, the problem is the 5th argument to vn_extattr_get() should be an
> int *, but it's passing a size_t *.  It looks like most consumers of
> vn_extattr_get() would prefer a size_t *, so maybe the interface should
> be changed. 

I think the problem originated because uio_resid is 'int', but iovec's
len is size_t.  I agree the right answer is to use size_t as the argument
to vn_extattr_{get,set}().  Will that cause type problems with the resid
field, however?

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Network Associates Laboratories


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1030106112126.97146B-100000>