← Commit list

d05738450

Ron Yorston
Ron Yorston
2026-08-10
SUCCESS Duration: 149s

Subject

rpm2cpio: print name of unknown compression method

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iinclude -Iinclude -o applets/usage applets/usage.c

Build Log

(log yok)

Commit Diff GitHub →

archival/rpm.c+2 -2
@@ -533,9 +533,9 @@ int rpm2cpio_main(int argc UNUSED_PARAM, char **argv)
// /* We need to know whether child (gzip/bzip/etc) exits abnormally */
// signal(SIGCHLD, check_errors_in_children);
- str = NULL;
+ str = rpm_getstr0(TAG_PAYLOADCOMPRESSOR);
if (ENABLE_FEATURE_SEAMLESS_LZMA
- && (str = rpm_getstr0(TAG_PAYLOADCOMPRESSOR)) != NULL
+ && str != NULL
&& strcmp(str, "lzma") == 0
) {
// lzma compression can't be detected