- /* install a collation function */
- zpm_addvercmp(&pkg);
- /* sqlite seems to need the columns in the result to
- * do the sort right */
-// zpm_exec(&pkg, "select package, version, release, package||'-'||version||'-'||release as pkgid from packages order by package, version collate vercmp, cast(release as integer)", prow, stdout, &errmsg);
-// fprintf(stdout, "\n");
-