anchor.diff:              %% and list of new binaries
               lists:foreach(
                 fun({SoName,Bins}) ->
  -                      AllBins = [sets:from_list(Bins), sets:from_list(NewBins)],
  +                      AllBins = [sets:from_list(Bins),
  +                                 sets:from_list(NewBins)],
                         Intersection = sets:intersection(AllBins),
                         case needs_link(SoName, sets:to_list(Intersection)) of
                             true ->
  
positive.code:         match -> true;
          nomatch -> false
      end.
  
  
  %%
  %% Given env. variable FOO we want to expand all references to
  
negative.code: %%
  apply_defaults(Vars, Defaults) ->
      dict:to_list(
        dict:merge(fun(Key, VarValue, DefaultValue) ->
                           case is_expandable(DefaultValue) of
                               true ->
                                   expand_env_variable(DefaultValue,
                                                       Key, VarValue);
                               false -> VarValue
                           end
                   end,
                   dict:from_list(Vars),
                   dict:from_list(Defaults))).
  
  %%
  %% Given a list of {Key, Value} environment variables, where Key may be defined
  %% multiple times, walk the list and expand each self-reference so that we
  