← Commit list

5da5365d3

Denys Vlasenko
Denys Vlasenko
2017-08-10
SUCCESS Duration: 145s

Subject

rpm,rpm2cpio: INIT_G() was missing (it is a nop here so far)

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

—

Build Log

(log yok)

Commit Diff GitHub →

archival/rpm.c+2 -0
@@ -353,6 +353,7 @@ int rpm_main(int argc, char **argv)
{
int opt, func = 0;
+ INIT_G();
G.pagesize = getpagesize();
while ((opt = getopt(argc, argv, "iqpldc")) != -1) {
@@ -515,6 +516,7 @@ int rpm2cpio_main(int argc UNUSED_PARAM, char **argv)
const char *str;
int rpm_fd;
+ INIT_G();
G.pagesize = getpagesize();
rpm_fd = rpm_gettags(argv[1]);