summaryrefslogtreecommitdiff
path: root/src/app_convdb.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-10-02 15:25:12 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-10-02 15:25:49 +0300
commit72bb6231eea1333f4e54b12adf01f5fa3eed6b96 (patch)
tree2a03aaf9e92a739202dd18c866bca29efe1996fc /src/app_convdb.c
parent7377eb74961e13b51acda1b0f8d765984a09c3f0 (diff)
downloadapk-tools-72bb6231eea1333f4e54b12adf01f5fa3eed6b96.tar.gz
apk-tools-72bb6231eea1333f4e54b12adf01f5fa3eed6b96.tar.bz2
apk-tools-72bb6231eea1333f4e54b12adf01f5fa3eed6b96.tar.xz
apk-tools-72bb6231eea1333f4e54b12adf01f5fa3eed6b96.zip
io: make ostream_file always use tmpname
Diffstat (limited to 'src/app_convdb.c')
-rw-r--r--src/app_convdb.c2
1 files changed, 1 insertions, 1 deletions
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