/* we're done, the lib is installed */
return 2;
}
}
for (i = 0; i < opt->repos.gl_pathc; i++) {
/* we're done, the lib is installed */
return 2;
}
}
for (i = 0; i < opt->repos.gl_pathc; i++) {
rv = zpm_vercmp(found, latest);
if (rv == 1) {
latest = found;
free(pkgfile);
pkgfile = strdup(opt->repos.gl_pathv[i]);
}
rv = zpm_vercmp(found, latest);
if (rv == 1) {
latest = found;
free(pkgfile);
pkgfile = strdup(opt->repos.gl_pathv[i]);
}
/* if it's in checked_libs, we've already looked at this one */
if (jsw_afind(checked_libs, soname)) {
/* if it's in checked_libs, we've already looked at this one */
if (jsw_afind(checked_libs, soname)) {
case 'R': opt.repodir = 0; break;
case 'D': opt.localdb = 0; break;
case 'M': opt.matchallpkgfile = 1; break;
case 'R': opt.repodir = 0; break;
case 'D': opt.localdb = 0; break;
case 'M': opt.matchallpkgfile = 1; break;
+ if (opt.verbose > 1) {
+ unsigned int i;
+ fprintf(stderr, "globs:");
+ for (i = 0; i < opt.repos.gl_pathc; i++) {
+ fprintf(stderr, " %s", opt.repos.gl_pathv[i]);
+ }
+ fprintf(stderr, "\n");
+ }
+
packages = jsw_hnew(ac,NULL,(cmp_f)strcmp,(keydup_f)strdup,
(itemdup_f)strdup,free,free);
check = jsw_hnew(ac,NULL,(cmp_f)strcmp,(keydup_f)strdup,
packages = jsw_hnew(ac,NULL,(cmp_f)strcmp,(keydup_f)strdup,
(itemdup_f)strdup,free,free);
check = jsw_hnew(ac,NULL,(cmp_f)strcmp,(keydup_f)strdup,