anchor.diff:      %% listening to all sockets we can possibly change username
   
       GC2 = case (catch setuser(Gconf#gconf.username)) of
  +	      ignore ->
  +		  Gconf;
   	      {ok, NewUid} ->
   		  Gconf#gconf{uid = NewUid};
   	      Other ->
  -		  error_logger:error_msg("Failed to set user:~n", [Other]),
  +		  error_logger:error_msg("Failed to set user:~n~p", [Other]),
   		  exit(Other)
   	  end,
       case setup_tdir(GC2) of
  
positive.code: 
  	
  setuser(undefined) ->	     
      "ok";
  setuser(User) ->	     
      erl_ddll:load_driver(filename:dirname(code:which(?MODULE)) ++ 
  			 "/../priv/", "setuid_drv"),
  
negative.code:     file:make_dir("/tmp/yaws"),
      set_writeable("/tmp/yaws"),
  
      case (catch yaws_log:uid_change(Gconf)) of
  	ok ->
  	    ok;
  	{error, Reason} ->
  	    error_logger:error_msg("Failed to change uid on logfiles:~n~p",
  				   [Reason]),
  	    exit(Reason)
      end,
  
  