aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-12-14 17:14:11 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-12-14 17:14:11 +0100
commit393c395ca50d0b95003d5adfc6d1ca95763cc732 (patch)
tree3b8e944729156d3d10483e8dcb727ab4a641125d
parent4d5955e9ece64e273e72c303983199be73022fab (diff)
downloadbusybox-w32-393c395ca50d0b95003d5adfc6d1ca95763cc732.tar.gz
busybox-w32-393c395ca50d0b95003d5adfc6d1ca95763cc732.tar.bz2
busybox-w32-393c395ca50d0b95003d5adfc6d1ca95763cc732.zip
du: document incompatibility with standard tool
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--coreutils/du.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index 19a0319f1..9c6ff8800 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -89,6 +89,10 @@ struct globals {
89#define INIT_G() do { } while (0) 89#define INIT_G() do { } while (0)
90 90
91 91
92/* FIXME? coreutils' du rounds sizes up:
93 * for example, 1025k file is shown as "2" by du -m.
94 * We round to nearest.
95 */
92static void print(unsigned long long size, const char *filename) 96static void print(unsigned long long size, const char *filename)
93{ 97{
94 /* TODO - May not want to defer error checking here. */ 98 /* TODO - May not want to defer error checking here. */