summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet5
2 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 87fede6b..f332103b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
- mdkapplet
+ o prevent SIGCHILD handler's waitpid to interfere with urpmi waiting
+ for curl exit code, which broke downloads
o workarounding issue with downloading files as user
Version 2.46 - 2 October 2008
diff --git a/mdkapplet b/mdkapplet
index 02274a17..3ebdaa4b 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -263,6 +263,11 @@ sub is_there_a_new_distributions() {
my @lines = eval {
my $urpm = Rpmdrake::open_db::fast_open_urpmi_db();
+
+ # prevent SIGCHILD handler's waitpid to interfere with urpmi waiting
+ # for curl exit code, which broke downloads:
+ local $SIG{CHLD} = 'DEFAULT';
+
if (member($product_id->{version}, qw(2007.1 2008.0 2008.1))) {
require mdkapplet_urpm;
mdkapplet_urpm::ensure_valid_cachedir($urpm);