From: Michael Tremer Date: Sat, 12 Oct 2024 17:02:51 +0000 (+0000) Subject: build: Tell the dependency callback how many bytes have been consumed X-Git-Tag: 0.9.30~1065 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0e68fa0c73a73fad2492ea65b428d346e936179;p=pakfire.git build: Tell the dependency callback how many bytes have been consumed Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/build.c b/src/libpakfire/build.c index c5d6ec907..88a1fbd27 100644 --- a/src/libpakfire/build.c +++ b/src/libpakfire/build.c @@ -477,6 +477,9 @@ static int pakfire_build_process_deps(struct pakfire_ctx* ctx, void* data, SKIP: CTX_DEBUG(ctx, "Skipping dependency that is provided by the package itself: %s\n", dep); + // Return how many bytes we have consumed + r = length; + ERROR: if (match) pcre2_match_data_free(match);