[Rpm-maint] [rpm-software-management/rpm] rpmuncompress: Add support for CAR files (PR #4109)

Panu Matilainen notifications at github.com
Wed Mar 4 11:42:03 UTC 2026


@pmatilai commented on this pull request.



> @@ -216,6 +216,8 @@ int rpmFileIsCompressed(const char * file, rpmCompressedMagic * compressed)
 	*compressed = COMPRESSED_LZMA;
     } else if (rpmFileHasSuffix(file, ".gem")) {
 	*compressed = COMPRESSED_GEM;
+    } else if (rpmFileHasSuffix(file, ".car")) {
+	*compressed = COMPRESSED_CAR;

Ack, using magic were it exists but falling back to extension sounds reasonable.

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

Message ID: <rpm-software-management/rpm/pull/4109/review/3888907227 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260304/7bacf2e1/attachment.htm>


More information about the Rpm-maint mailing list