Re: [PATCH] fix for Assertion failure on "depedentry >= 4"
On Tue, Oct 12, 1999 at 04:21:31PM -0400, Ben Collins wrote:
> On Tue, Oct 12, 1999 at 04:14:49PM -0400, Ben Collins wrote:
> > On Tue, Oct 12, 1999 at 04:02:18PM -0400, Ben Collins wrote:
> > > */
> > > - for (sol=sofar; sol && sol->pkg != dependedon; sol=sol->back);
> > > + for (sol=sofar; sol && sol->pkg != dependedon; sol=sol->back)
> > > + for (dep=sol->possi; dep && dep->ed != dependedon; dep=dep->next)
> >
> > Bah, shows how burned my brain is, I'm missing a semicolon....I need to
> > recheck this.
>
> Whew, almost a major embarrasment. Mistake in the patch, not in the code I
> was testing. Make that part of the patch look like this instead:
>
> - for (sol=sofar; sol && sol->pkg != dependedon; sol=sol->back);
> + for (sol=sofar; sol && sol->pkg != dependedon; sol=sol->back)
> + for (dep=sol->possi; dep && dep->ed != dependedon; dep=dep->next);
Hmm...just crap all over this patch...it doesn't work anymore :/
Ben (who is now going to kick back a six pack and try this again)
Reply to: