# HG changeset patch # User Dan Winship # Date 1203003325 18000 # Node ID 553d17d59714d7bbc71331efb70a567a1acf1537 # Parent f991e2623c41e6e3378984a44983545cdbca7aa9 (trivial optimization) diff -r f991e2623c41 -r 553d17d59714 razor.c --- a/razor.c Thu Feb 14 10:35:10 2008 -0500 +++ b/razor.c Thu Feb 14 10:35:25 2008 -0500 @@ -1460,8 +1460,8 @@ r = requires + *u; while (p < pend && - strcmp(&pool[r->name], &upool[p->name]) > 0 && - p->type != RAZOR_PROPERTY_PROVIDES) + p->type != RAZOR_PROPERTY_PROVIDES && + strcmp(&pool[r->name], &upool[p->name]) > 0) p++; /* If there is more than one version of a provides, * seek to the end for the highest version. */