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
[EMAIL PROTECTED]      Network Associates Laboratories


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to