razor.c
changeset 122 553d17d59714
parent 121 f991e2623c41
child 123 4e699bd39b40
     1.1 --- a/razor.c	Thu Feb 14 10:35:10 2008 -0500
     1.2 +++ b/razor.c	Thu Feb 14 10:35:25 2008 -0500
     1.3 @@ -1460,8 +1460,8 @@
     1.4  		r = requires + *u;
     1.5  
     1.6  		while (p < pend &&
     1.7 -		       strcmp(&pool[r->name], &upool[p->name]) > 0 &&
     1.8 -		       p->type != RAZOR_PROPERTY_PROVIDES)
     1.9 +		       p->type != RAZOR_PROPERTY_PROVIDES &&
    1.10 +		       strcmp(&pool[r->name], &upool[p->name]) > 0)
    1.11  			p++;
    1.12  		/* If there is more than one version of a provides,
    1.13  		 * seek to the end for the highest version. */