summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2022-12-21 00:25:52 +0200
committerTimo Teräs <timo.teras@iki.fi>2022-12-21 00:26:41 +0200
commitc1370f9f50708c8777eac3131cab337c16968175 (patch)
treef1d65ed279cc3835e6a3e48ee273ef1cc21f8327
parent191d180d761114c813315449e9f3371217cf6016 (diff)
downloadapk-tools-c1370f9f50708c8777eac3131cab337c16968175.tar.gz
apk-tools-c1370f9f50708c8777eac3131cab337c16968175.tar.bz2
apk-tools-c1370f9f50708c8777eac3131cab337c16968175.tar.xz
apk-tools-c1370f9f50708c8777eac3131cab337c16968175.zip
pkg: increase index entry buffer size
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c
index 2aeb21c..cd2329c 100644
--- a/src/package.c
+++ b/src/package.c
@@ -1117,7 +1117,7 @@ static int write_depends(struct apk_ostream *os, const char *field,
int apk_pkg_write_index_entry(struct apk_package *info,
struct apk_ostream *os)
{
- char buf[512];
+ char buf[2048];
apk_blob_t bbuf = APK_BLOB_BUF(buf);
apk_blob_push_blob(&bbuf, APK_BLOB_STR("C:"));