/* if the name,ver,arch matches, or the name matches and the
* package is marked deinstall/hold */
if ((!strcmp(pkg->name, vec->pkgs[i]->name))
&& ((pkg->state_want == SW_DEINSTALL
&& (pkg->state_flag & SF_HOLD))
|| ((pkg_compare_versions(pkg, vec->pkgs[i]) == 0)
/* if the name,ver,arch matches, or the name matches and the
* package is marked deinstall/hold */
if ((!strcmp(pkg->name, vec->pkgs[i]->name))
&& ((pkg->state_want == SW_DEINSTALL
&& (pkg->state_flag & SF_HOLD))
|| ((pkg_compare_versions(pkg, vec->pkgs[i]) == 0)