← Commit list

393c395ca

Denys Vlasenko
Denys Vlasenko
2012-12-14
SUCCESS Duration: 186s

Subject

du: document incompatibility with standard tool

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/du.c+4 -0
@@ -89,6 +89,10 @@ struct globals {
#define INIT_G() do { } while (0)
+/* FIXME? coreutils' du rounds sizes up:
+ * for example, 1025k file is shown as "2" by du -m.
+ * We round to nearest.
+ */
static void print(unsigned long long size, const char *filename)
{
/* TODO - May not want to defer error checking here. */