]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-lzma-tukaani.patch
- cleanups, exit early if nothing to be found
[packages/rpm.git] / rpm-lzma-tukaani.patch
1 diff -urN rpm-4.4.9.org/rpmio/rpmio.c rpm-4.4.9/rpmio/rpmio.c
2 --- rpm-4.4.9.org/rpmio/rpmio.c 2007-03-31 13:33:15.000000000 +0200
3 +++ rpm-4.4.9/rpmio/rpmio.c     2007-12-10 12:50:56.678906501 +0100
4 @@ -2879,7 +2879,7 @@
5          xx = dup2(fdno, 1);
6          for (i = 3; i < 1024; i++)
7             xx = close(i);
8 -        if (execl("/usr/bin/lzma", "lzma", "e", "-si", "-so", NULL))
9 +        if (execl("/usr/bin/lzma", "lzma", "--format=alone", "-zc", "-", NULL))
10              _exit(1);
11      }
12      return NULL; /* warning */
This page took 0.023224 seconds and 3 git commands to generate.