acid \B format prints 1 garbage character after fmt
e.g.:
acid: 0xe\B
0b00000000000000000000000000001110p
fix by using %b format (which itself needed
a fix to print 0b as prefix if FmtSharp is set).
a clean comple requires this addition to libc.h:
/n/sources/plan9//sys/include/libc.h:177,184 - libc.h:180,189
#pragma varargck type "lld" vlong
#pragma varargck type "llx" vlong
+ #pragma varargck type "llb" vlong
#pragma varargck type "lld" uvlong
#pragma varargck type "llx" uvlong
+ #pragma varargck type "llb" uvlong
#pragma varargck type "ld" long
#pragma varargck type "lx" long
#pragma varargck type "lb" long
|