anchor.diff:  -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
   
   -record(state, {debug_iodev, debug_fn, normal_iodev, normal_fn, error_iodev, error_fn}).
  +
  +%% needed for file:read_file_info
  +-include_lib("kernel/include/file.hrl").
   
   %%====================================================================
   %% External functions
  
positive.code: 	_ ->
  	    error
      end.
  
  %%--------------------------------------------------------------------
  %%% Interface functions
  
negative.code: 	    case file:rename(Filename, Filename ++ Suffix) of
  		ok ->
  		    %% Rename temporary file to the right filename
  		    %% XXX Can we trap errors here?
  		    file:rename(TmpFile, Filename),
  		    {ok, NewIoDev};
  		_ ->
  