[pacman-dev] [PATCH] alpm_list_add == alpm_list_add_last I: recursedeps clean-up

Nagy Gabor ngaba at bibl.u-szeged.hu
Wed Nov 14 09:50:37 EST 2007


> And if it isn't topo sorted, then what happens?
> Shouldn't the comment rather be something like :
> The targets list must be topo sorted, and will stay topo sorted.
No. The input list _needn't_ be topo sorted; the algorithm works always (but of
course if the input list is not topo sorted, then the output list won't be topo
sorted neither).
Bye


----------------------------------------------------
SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
This mail sent through IMP: http://horde.org/imp/





More information about the pacman-dev mailing list