Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Small fixes
Alexandre Perrin committed 13 years ago
commit efda89fc859d0159d99916ae329d9c185f3f2fe9
parent ab87058
3 files changed +1 -5
modified libpkg/backup.c
@@ -70,9 +70,6 @@ copy_database(sqlite3 *src, sqlite3 *dst, const char *name)
	assert(src != NULL);
	assert(dst != NULL);

-
	/* Do not remove until gcc has gone from FreeBSD base */
-
	done = total = 0;
-

	ret = sqlite3_exec(dst, "PRAGMA main.locking_mode=EXCLUSIVE;"
			   "BEGIN IMMEDIATE;COMMIT;", NULL, NULL, &errmsg);
	if (ret != SQLITE_OK) {
modified libpkg/pkg_elf.c
@@ -157,7 +157,6 @@ test_depends(void *actdata, struct pkg *pkg, const char *fpath,

	d = NULL;
	if (pkgdb_it_next(it, &d, PKG_LOAD_BASIC) == EPKG_OK) {
-
		found = false;
		pkg_get(d, PKG_ORIGIN,  &deporigin,
			   PKG_NAME,    &depname,
			   PKG_VERSION, &depversion,
modified libpkg/pkg_repo.c
@@ -738,7 +738,7 @@ pkg_create_repo(char *path, __unused bool force, bool files,

		pkg_emit_manifest2(r->pkg, buf, true);
		sbuf_finish(buf);
-
		fprintf(psyml, sbuf_data(buf));
+
		(void)fprintf(psyml, "%s", sbuf_data(buf));

		pkg_get(r->pkg, PKG_ORIGIN, &origin, PKG_NAME, &name,
		    PKG_VERSION, &version, PKG_COMMENT, &comment,