whitehash: Added to Makefile.

This commit is contained in:
Ole Tange 2019-07-11 18:15:00 +02:00
parent 14f0bffe25
commit 2983f5dd8f
2 changed files with 4 additions and 3 deletions

View file

@ -2,8 +2,8 @@ CMD = blink bsearch burncpu duplicate-packets em encdir field forever \
G gitnext gitundo goodpasswd histogram mtrr mirrorpdf neno \
off pdfman pidcmd plotpipe puniq ramusage rand rclean rina rn \
rrm shython sound-reload stdout swapout T timestamp tracefile \
transpose upsidedown vid w4it-for-port-open wifi-reload wssh \
ytv yyyymmdd
transpose upsidedown vid w4it-for-port-open whitehash \
wifi-reload wssh ytv yyyymmdd
all: blink/blink.1 bsearch/bsearch.1 burncpu/burncpu.1 \
encdir/encdir.1 G/G.1 gitnext/gitnext.1 gitundo/gitundo.1 \

View file

@ -61,7 +61,8 @@ bits = searchlen*4
part = readparts();
tabs = math.ceil(bits/3.0)
if tabs > len(part)-1:
print("Too many bits",bits,tabs,len(part))
print("Too few tabs: %s hex values is %s bits which needs %d tabs and there are only %s"
% (searchlen,bits,tabs,len(part)))
exit(1);
part = mergeparts(tabs,part)