forked from lix-project/lix
* Wow, that bug has been there since r764.
This commit is contained in:
parent
86cbd93ec1
commit
e0afaf1857
|
@ -81,8 +81,8 @@ Path createGeneration(Path profile, Path outPath)
|
||||||
previous ones. */
|
previous ones. */
|
||||||
int dummy;
|
int dummy;
|
||||||
Generations gens = findGenerations(profile, dummy);
|
Generations gens = findGenerations(profile, dummy);
|
||||||
unsigned int num = gens.size() > 0 ? gens.front().number : 0;
|
unsigned int num = gens.size() > 0 ? gens.back().number : 0;
|
||||||
|
|
||||||
/* Create the new generation. Note that addPermRoot() blocks if
|
/* Create the new generation. Note that addPermRoot() blocks if
|
||||||
the garbage collector is running to prevent the stuff we've
|
the garbage collector is running to prevent the stuff we've
|
||||||
build from moving from the temporary roots (which the GC knows)
|
build from moving from the temporary roots (which the GC knows)
|
||||||
|
|
Loading…
Reference in a new issue