File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ pool_createwhatprovides(Pool *pool)
279279 whatprovides [id ]-- ;
280280 }
281281 else
282- auxid = 1 ;
282+ auxid = 1 ; /* we have multiple provides for this name */
283283 if (whatprovidesauxdata )
284284 whatprovidesauxdata [whatprovides [id ]] = auxid ;
285285 }
@@ -898,7 +898,7 @@ pool_addrelproviders(Pool *pool, Id d)
898898 Solvable * s = pool -> solvables + p ;
899899 if (ppaux )
900900 {
901- pid = * ppaux ++ ;
901+ pid = * ppaux ++ ; /* the id that provided the name, 1 if there are multiple providers */
902902 if (pid && pid != 1 )
903903 {
904904#if 0
@@ -907,7 +907,7 @@ pool_addrelproviders(Pool *pool, Id d)
907907 if (!ISRELDEP (pid ))
908908 {
909909 if (pid != name )
910- continue ; /* wrong provides name */
910+ continue ; /* wrong provides name (should not happen) */
911911 if (pool -> disttype == DISTTYPE_DEB )
912912 continue ; /* unversioned provides can never match versioned deps */
913913 }
You can’t perform that action at this time.
0 commit comments