]> git.ipfire.org Git - pakfire.git/commitdiff
build: Tell the dependency callback how many bytes have been consumed
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 12 Oct 2024 17:02:51 +0000 (17:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 12 Oct 2024 17:02:51 +0000 (17:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/build.c

index c5d6ec90766292dc0922f57289a22054293f42a0..88a1fbd278ffb462df44b28c8371f20dde03e00c 100644 (file)
@@ -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);