[packages/rpm/dev-5.4.16] perl-bindings-do-not-use-xmalloc.patch applied upstream
glen
glen at pld-linux.org
Wed Mar 16 16:43:34 CET 2016
commit f136c762aeca4913566c9b7083dddb60823da5e3
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Mar 16 17:42:10 2016 +0200
perl-bindings-do-not-use-xmalloc.patch applied upstream
rpm-5.4.13-perl-bindings-do-not-use-xmalloc.patch | 20 --------------------
rpm.spec | 2 --
2 files changed, 22 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 6f6f3c7..14c7b33 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -286,7 +286,6 @@ Patch1042: %{name}-5.4.9-fix-rpm_qa-pattern.patch
Patch1044: %{name}-5.4.12-fix-rpmlua-print.patch
Patch1045: %{name}-5.4.12-fix-rpmpython-module-import-init.patch
-Patch1047: %{name}-5.4.13-perl-bindings-do-not-use-xmalloc.patch
# proyvind:
# there's a rpmdbchk tool I wrote a while back, which might help you. although
# the incidents it's able to deal with is rather limited ATM... it might help
@@ -1009,7 +1008,6 @@ cd -
#%patch1044 -p1 RECHECK
%patch1045 -p1
-%patch1047 -p1
%patch1048 -p1
%patch1049 -p1
diff --git a/rpm-5.4.13-perl-bindings-do-not-use-xmalloc.patch b/rpm-5.4.13-perl-bindings-do-not-use-xmalloc.patch
deleted file mode 100644
index 9eff10f..0000000
--- a/rpm-5.4.13-perl-bindings-do-not-use-xmalloc.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- rpm-5.4.13/perl/RPM_Spec.xs.xmalloc~ 2013-09-13 06:20:58.102257264 +0200
-+++ rpm-5.4.13/perl/RPM_Spec.xs 2013-09-13 06:21:28.680226625 +0200
-@@ -234,7 +234,7 @@ icon(spec)
- char * dest = NULL;
- int len;
- len = strlen(spec->sources->source);
-- dest = xmalloc(len+1);
-+ dest = malloc(len+1);
- dest[len] = '\0';
- memcpy(dest, spec->sources->source, len);
- XPUSHs(sv_2mortal(newSVpv(dest, len)));
-@@ -249,7 +249,7 @@ icon_url(spec)
- char * dest = NULL;
- int len;
- len = strlen(spec->sources->fullSource);
-- dest = xmalloc(len+1);
-+ dest = malloc(len+1);
- memcpy(dest, spec->sources->fullSource, len);
- dest[len] = '\0';
- XPUSHs(sv_2mortal(newSVpv(dest, len)));
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/fbf0a3cdb5919d4828bf667f47ee40dd946cbb52
More information about the pld-cvs-commit
mailing list