[PATCH] Use 'long long' for size field in du

Denys Vlasenko vda.linux at googlemail.com
Tue Feb 28 02:12:03 UTC 2012


On Monday 27 February 2012 23:40, Ian Wienand wrote:
> Hi,
> 
> Busybox du has issues with files reporting large block counts on
> 32-bit systems with 4 byte longs.  From looking at the stat.c code, it
> seem the preference is to use 'long long', rather than blkcnt_t.
> 
> I confirmed it worked with some testing using a stat wrapper that
> faked AUTHORS as a 2TB file.

Applied, thanks!


More information about the busybox mailing list