anchor.diff:      
   
   wrap_p(AL, State) when record(AL, alog) ->
  -    {ok, FI} = file:read_file_info(AL#alog.filename),
  -    if
  -	FI#file_info.size > State#state.log_wrap_size->
  +    case file:read_file_info(AL#alog.filename) of
  +	{ok, FI} when 	FI#file_info.size > State#state.log_wrap_size->
   	    true;
  -	true ->
  +	{ok, _FI} ->
  +	    false;
  +	{error, enoent} ->
  +	    enoent;
  +	_ ->
   	    false
       end;
   wrap_p(_,_) ->
  
positive.code: 	    AL#alog{fd = Fd2};
  	false ->
  	    AL;
  	{'EXIT', Rsn} ->
  	    error_logger:format("Failed to wraplog ~p:~p~n",
  				[AL#alog.filename, Rsn]),
  
negative.code: 
  
  wrap(AL, State) ->
      case wrap_p(AL, State) of
  	true ->
  	    file:close(AL#alog.fd),
  	    Old = [AL#alog.filename, ".old"],
  