SOURCES: rpm-lzma-mem.patch (NEW) - specify memory limit as 0

arekm arekm at pld-linux.org
Wed Nov 5 18:24:28 CET 2008


Author: arekm                        Date: Wed Nov  5 17:24:28 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- specify memory limit as 0

---- Files affected:
SOURCES:
   rpm-lzma-mem.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/rpm-lzma-mem.patch
diff -u /dev/null SOURCES/rpm-lzma-mem.patch:1.1
--- /dev/null	Wed Nov  5 18:24:28 2008
+++ SOURCES/rpm-lzma-mem.patch	Wed Nov  5 18:24:22 2008
@@ -0,0 +1,11 @@
+--- rpm-4.5/rpmio/lzdio.c.org	2008-11-05 18:13:43.655364585 +0100
++++ rpm-4.5/rpmio/lzdio.c	2008-11-05 18:13:51.136793343 +0100
+@@ -132,7 +132,7 @@
+ 	for (i = 3; i < 1024; i++)
+ 	    xx = close(i);
+ 	lzma = rpmGetPath("%{?__lzma}%{!?__lzma:/usr/bin/lzma}", NULL);
+-	if (execle(lzma, "lzma", level, NULL, env))
++	if (execle(lzma, "lzma", level, "-M0", NULL, env))
+ 	    _exit(1);
+ 	lzma = _free(lzma);
+     }
================================================================


More information about the pld-cvs-commit mailing list