Subject: Re: getdirentries(2): argument doesn't match
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 10/03/2002 21:33:36
In article <20021003045327.E88E87B9@starfruit.itojun.org>,
Jun-ichiro itojun Hagino <itojun@iijlab.net> wrote:
>	it seems that signedness of getdirentries(2) does not meet up with
>	document.  does it make sense?  found by checking openbsd commit log.
>

IMHO,

This change is not necessary. The signed -> unsigned change was made as
part of the signed count code vetting done a while ago. I think that is
in the wrong direction, because it necessitates more explicit checking
in the code. Userland does not really care, as long as
sizeof(int) == sizeof(u_int).

christos