← Commit list

76c476f81

Denis Vlasenko
Denis Vlasenko
2007-08-28
FAILED Duration: 21s

Subject

smart_ulltoa5: emit small letters k,m,g... - makes top more readable

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 →

libbb/xfuncs.c+2 -1
@@ -323,7 +323,8 @@ void smart_ulltoa5(unsigned long long ul, char buf[5])
}
buf[2] = "0123456789"[v];
// see http://en.wikipedia.org/wiki/Tera
- buf[3] = " kMGTPEZY"[idx];
+ // (small letters stand out better versus numbers)
+ buf[3] = " kmgtpezy"[idx];
}
buf[4] = '\0';
}