OSDN Git Service

du: 32 bit systems were maxing out at 2GB when they should max out at 2TB
authorRob Landley <rob@landley.net>
Sat, 1 Oct 2016 23:19:45 +0000 (18:19 -0500)
committerRob Landley <rob@landley.net>
Sat, 1 Oct 2016 23:19:45 +0000 (18:19 -0500)
commit8d0f0b6ba864155914f88e39076213b4486efee4
tree12b3107346a7bb0b89a09a0f705df3ba69aa8316
parent29e75d51d447c5c0aae9834f5988b79a945c7acc
du: 32 bit systems were maxing out at 2GB when they should max out at 2TB
(1<<32 blocks * 512 bytes, done with unsigned 64 bit math).
toys/posix/du.c