anchor.diff:  					  record_handler({logfile, Dev});
   				  Opt ->
   					  NewOptions ++ Opt
  -			  end, [], Options).+			  end
  +	  end, [], Options).
positive.code:     case ets:lookup(?dbname, handlers) of
  		[] ->
  			ok;
  		Handlers - >
  			lists:foreach(
  		        fun(Handler) -> 
  						case Handler of
  
negative.code:     end.
  
  record_node(Node) ->
   %%   Nodes = ets:lookup(?dbname, enodes),
  	case ets:lookup(?dbname, enodes) of
  		[] ->
              ets:insert(?dbname, {enodes, [Node]});
          [{enodes, Nodes}] ->
  			NewNodes = Nodes ++ Node,
  			ets:insert(?dbname, {enodes, NewNodes})
  	end.
  
  remove_node(Node) ->
    %%  Nodes = ets:lookup(?dbname, enodes),
  	case ets:lookup(?dbname, enodes) of
  		[] ->
              ok;
          [{enodes, Nodes}] ->
  			NewNodes = Nodes -- Node,
  			ets:insert(?dbname, {enodes, NewNodes})
  	end.
  
  %%% Store handler of opened resources in DB
  record_handler(Handler) ->
  %%	Handlers = ets:lookup(?dbname, handlers),
  	case ets:lookup(?dbname, handlers) of
  		[] ->
              ets:insert(?dbname, {handlers, [Handler]});
          [{handlers, Handlers}] ->
  			NewHandlers = Handlers ++ Handler,
  			ets:insert(?dbname, {handlers, NewHandlers})
  	end.
  
  remove_handler(Handler) ->
  %%    Handlers = ets:lookup(?dbname, handlers),
  	case ets:lookup(?dbname, handlers) of
  		[] ->
              ok;
          [{handlers, Handlers}] ->
  			NewHandlers = Handlers -- Handler,
  			ets:insert(?dbname, {handlers, NewHandlers})
  	end.
  