anchor.diff:      ok = disk_log:close(n),
       set_opened(File),
       crash(File, 30),
  -    {repaired,n,{recovered,3},{badbytes,15}} =
  +    {repaired,n,{recovered,3},{badbytes,16}} =
           disk_log:open([{name, n}, {file, File}, {type, halt},
   		       {format, internal},{repair,true}, {quiet, true},
   		       {head_func, {?MODULE, head_fun, [{ok,"head"}]}}]),
  
positive.code:     ok = disk_log:close(n),
      {ok, n} = disk_log:open([{name, n}, {file, File}, {type, halt},
  			     {format, internal}, {mode, read_only}]),
      crash(File, 40), % the binary term {s} is now bad
      {J11, [{this,is}], 6} = disk_log:chunk(n, start, 10),
      {J21, [{on,a},{halt,file}]} = disk_log:chunk(n, J11),
      eof = disk_log:chunk(n, J21),
      ok = disk_log:close(n),
  
negative.code:     ok = disk_log:log_terms(n, [{some,terms}]), % second file full
      2 = curf(n),
      BadFile = add_ext(File, 1),
      crash(BadFile, 28), % the _binary_ is now invalid
      {error, {corrupt_log_file, BFile}} = disk_log:chunk(n, start, 1),
      BadFile = BFile,
      ok = disk_log:close(n),
  