anchor.diff:      after 0 ->
   	    loop(log_end(S, Pids, Bins, Sync))
       end;
  -log_loop(S, Pids, Bins, Sync, Sz) ->
  -    [M | Ms] = S#state.messages,
  +log_loop(#state{messages = [M | Ms]}=S, Pids, Bins, Sync, Sz) ->
       S1 = S#state{messages = Ms},
       log_loop(M, Pids, Bins, Sync, Sz, S1, get(log)).
   
  
positive.code: -define(MAX_LOOK_AHEAD, 64*1024).
  
  %% Inlined.
  log_loop(S, Pids, _Bins, _Sync, _Sz) when S#state.cache_error =/= ok ->
      loop(cache_error(S, Pids));
  log_loop(#state{messages = []}=S, Pids, Bins, Sync, Sz)
              when Sz > ?MAX_LOOK_AHEAD ->
      loop(log_end(S, Pids, Bins, Sync));
  log_loop(#state{messages = []}=S, Pids, Bins, Sync, Sz) ->
      receive 
  
negative.code: %%
  %% %CopyrightBegin%
  %% 
  %% Copyright Ericsson AB 1997-2012. All Rights Reserved.
  %% 
  %% The contents of this file are subject to the Erlang Public License,
  %% Version 1.1, (the "License"); you may not use this file except in
  