Subject: Re: getdirentries(2): argument doesn't match
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 10/03/2002 01:17:36
>	it seems that signedness of getdirentries(2) does not meet up with
>	document.  does it make sense?  found by checking openbsd commit log.

istm that by using a u_int instead of an int (they are both always the
same size, right?) you can eliminate the two tests you have to add if
you make it an int.

less code to debug, audit, etc...

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."