anchor.diff:      end.
   
   
  -spec_table(Type, Tab, FieldSpec, Limit, Opts) ->
  -    ds_opts:setopts(Opts),
  -    spec_table(Type, Tab, FieldSpec, Limit).
  -
  -%% For dets, we also support passing the filename as the table identifier,
  -%% in which case we will open and close it for ourselves:
  -spec_table(dets, Filename, FieldSpec, Limit) when is_list(Filename) ->
  -    Handle = #handle{type=dets, table=undefined, filename=Filename,
  -                     accessors=accessors(dets)},
  -    State = init(Handle, FieldSpec, Limit),
  -    procs_init(State);
  -spec_table(Type, Tab, FieldSpec, Limit) ->
  -    Handle = #handle{type=Type, table=Tab, accessors=accessors(Type)},
  -    State = init(Handle, FieldSpec, Limit),
  -    procs_init(State).
  -
  -spec_disk_log(Filename, FieldSpec, Limit, Opts) ->
  -    ds_opts:setopts(Opts),
  -    spec_disk_log(Filename, FieldSpec, Limit).
  -
  -spec_disk_log(Filename, FieldSpec, Limit) ->
  -    State = init(Filename, FieldSpec, Limit),
  -    procs_init(State).
  -
  -
   %% Initialize a fold through a table
  -init(#handle{} = Handle0, FieldSpec0, Limit) ->
  +init_fold(#handle{} = Handle0, FieldSpec0, Limit) ->
       ds_records:init(),
       Handle = open_dets_table(Handle0),
       #handle{table=Tab, accessors={FirstF, _ReadF, _NextF}} = Handle,
  
positive.code:     {State#state{current_pos=NextF(Tab, Key), limit=counter_dec(Limit, RecN)}, RecL, RecN};
  %% disk_log
  prep_fold(#state{status=spec_disk_log, limit=0} = State) ->
      finish_fold(State);
  prep_fold(#state{status=spec_disk_log, current_pos=Cont0, limit=Limit} = State) ->
      case disk_log:chunk(dlog, Cont0) of
          eof ->
  
negative.code:            fold_fun=FoldFun, limit=Limit, current_pos=FirstF(Tab),
             spec=ds:new()};
  %% Initialize a fold through a disk_log file. Useful for Mnesia .DCD and .DCL
  init_fold(Filename, FieldSpec0, Limit) ->
      ds_records:init(),
      {ok, dlog} = disk_log:open([ {name, dlog}
                                 , {file, Filename}
  