transaction.c | transaction.c | |||
---|---|---|---|---|
skipping to change at line 394 | skipping to change at line 394 | |||
return -ENOEXEC; | return -ENOEXEC; | |||
} | } | |||
/* Make the marker point to where we come from, so that we can | /* Make the marker point to where we come from, so that we can | |||
* find our way backwards if we want to break a cycle. We use | * find our way backwards if we want to break a cycle. We use | |||
* a special marker for the beginning: we point to | * a special marker for the beginning: we point to | |||
* ourselves. */ | * ourselves. */ | |||
j->marker = from ? from : j; | j->marker = from ? from : j; | |||
j->generation = generation; | j->generation = generation; | |||
/* We assume that the the dependencies are bidirectional, and | /* We assume that the dependencies are bidirectional, and | |||
* hence can ignore UNIT_AFTER */ | * hence can ignore UNIT_AFTER */ | |||
SET_FOREACH(u, j->unit->dependencies[UNIT_BEFORE], i) { | SET_FOREACH(u, j->unit->dependencies[UNIT_BEFORE], i) { | |||
Job *o; | Job *o; | |||
/* Is there a job for this unit? */ | /* Is there a job for this unit? */ | |||
o = hashmap_get(tr->jobs, u); | o = hashmap_get(tr->jobs, u); | |||
if (!o) { | if (!o) { | |||
/* Ok, there is no job for this in the | /* Ok, there is no job for this in the | |||
* transaction, but maybe there is already one | * transaction, but maybe there is already one | |||
* running? */ | * running? */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |