@daandemeyer commented on this pull request.


> +    /* Plain streams use physical file offsets. Compressed streams align the
+     * canonical cpio relative to its decompressed start. */
+    if (fdIsPlain(fd)) {
+       off_t base = Ftell(fd);
+       cpio->base = (base > 0) ? base : 0;
+    }

The mix is deliberate: the direct calls byte-compare tool output against the 
in-process API helper (which also runs on the host), while the `runroot` cases 
cover the configured-root path. Conversion doesn't depend on the macros that 
differ.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4294#discussion_r3735575525
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/4294/review/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to