From 72bb6231eea1333f4e54b12adf01f5fa3eed6b96 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Fri, 2 Oct 2020 15:25:12 +0300 Subject: io: make ostream_file always use tmpname --- src/app_convdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app_convdb.c') diff --git a/src/app_convdb.c b/src/app_convdb.c index 39a8ad3..f77bbf8 100644 --- a/src/app_convdb.c +++ b/src/app_convdb.c @@ -216,7 +216,7 @@ static int conv_main(void *pctx, struct apk_database *db, struct apk_string_arra r = adb_c_create( //apk_ostream_to_file(db->root_fd, "lib/apk/db/installed.adb", 0644), - apk_ostream_to_file(AT_FDCWD, "installed.adb", 0, 0644), + apk_ostream_to_file(AT_FDCWD, "installed.adb", 0644), &ctx->dbi, &db->trust); if (r == 0) { // unlink old files -- cgit v1.2.3-70-g09d2