sort_by_dep for algorithm improvement: bad cleanup

Erik Søe Sørensen eriksoe at daimi.au.dk
Fri Mar 5 19:25:44 GMT 2004


Steven Michalske wrote:
[about a patch to sort_by_dependency]
> its going in to the edge now

Thanks.
I see that someone has cleaned up the code. That's suitable, but a 
detail has rendered the change useless :(

The line
         INCLUDED=$INCLUDED'\n'$MOD
should be
         INCLUDED=$INCLUDED$'\n'$MOD
or else the grep -qFx won't succeed.

(Fortunately, I couldn't help noticing the mistake, because the sorting 
procedure ran as slow as it used to :)
/Erik


More information about the Lunar mailing list