[packages/poldek] - forgotten patch

adwol adwol at pld-linux.org
Fri Nov 6 17:17:58 CET 2015


commit 3935d194845b110fae789b3667b434c8b63a85f5
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Fri Nov 6 17:17:39 2015 +0100

    - forgotten patch

 poldek-assert-sigint.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/poldek-assert-sigint.patch b/poldek-assert-sigint.patch
new file mode 100644
index 0000000..a12fb2b
--- /dev/null
+++ b/poldek-assert-sigint.patch
@@ -0,0 +1,15 @@
+diff -ruNp poldek-0.30.1.orig/install3/preinstall.c poldek-0.30.1/install3/preinstall.c
+--- poldek-0.30.1.orig/install3/preinstall.c	2014-03-25 23:32:25.000000000 +0100
++++ poldek-0.30.1/install3/preinstall.c	2015-10-21 21:53:10.190934930 +0200
+@@ -199,8 +199,10 @@ int i3_pre_ts_install(struct poldek_ts *
+         if (!pkg_is_marked(ts->pms, pkg))
+             continue;
+ 
+-        if (sigint_reached())
++        if (sigint_reached()) {
++            n_array_cfree(pkgs);
+             return -1;
++        }
+         
+         installable = i3_is_pkg_installable(ts, pkg, 1);
+         
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/3935d194845b110fae789b3667b434c8b63a85f5



More information about the pld-cvs-commit mailing list