Subject: Re: bin/32785 [dM] du not terabyte-clean
To: None <tech-userlevel@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-userlevel
Date: 07/25/2006 21:53:12
In article <20060725201340.GB7707@netbsd.org>,
Bill Studenmund  <wrstuden@netbsd.org> wrote:
>-=-=-=-=-=-
>
>On Mon, Jul 24, 2006 at 05:04:40PM -0400, der Mouse wrote:
>> >> Where do I get a suitable printf format for these types?  I seem to
>> >> recall that there are macros from some include file, but can't
>> >> recall enough details - PRIsomething, isn't it?
>> > Right, <inttypes.h> (which gets it from machine/int_fmthio.h via
>> > sys/inttypes.h):  [...example...]
>> 
>> This actually turns out to not matter.  My changes don't touch any
>> printf formats directly; printing is already handled, elsewhere.
>> 
>> I've put a new patch into the PR (with a copy here).
>
>I think the change is fine. However I'm wondering if it wouldn't be better 
>to somehow version the _ftsent structure. I doubt that du will be the only 
>directory-walking application that will need to deal with 64-bit values.
>

We've versioned this stupid api 3 times so far. grr. It is easy to do it
once more.

christos