some fixes #10

Merged
yamt merged 2 commits from fixes into master 2012-09-12 10:00:25 +00:00
Showing only changes of commit 8026dcbdd4 - Show all commits

View file

@ -439,10 +439,10 @@ main_loop(State = #state{ next=Next }) ->
?log("init_range_fold ~p -> ~p", [Range, WorkerPID]),
{FoldingPIDs, NextList} =
{NextList, FoldingPIDs} =
case {State#state.a, State#state.b, State#state.c} of
{undefined, undefined, undefined} ->
{[], List};
{List, []};
{_, undefined, undefined} ->
ok = file:make_link(filename("A", State), filename("AF", State)),