summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-09-11 21:08:19 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-09-11 21:08:19 +0000
commitb733c644eb9504f6d5fd2cb0df3609e1e7b34584 (patch)
tree8314b0525c82fb0b0290f2ed9e7b949f81f64c27
parent177501a5620e385acf9c3556a2cb16e14e87d1bc (diff)
downloaddrakx-backup-do-not-use-b733c644eb9504f6d5fd2cb0df3609e1e7b34584.tar
drakx-backup-do-not-use-b733c644eb9504f6d5fd2cb0df3609e1e7b34584.tar.gz
drakx-backup-do-not-use-b733c644eb9504f6d5fd2cb0df3609e1e7b34584.tar.bz2
drakx-backup-do-not-use-b733c644eb9504f6d5fd2cb0df3609e1e7b34584.tar.xz
drakx-backup-do-not-use-b733c644eb9504f6d5fd2cb0df3609e1e7b34584.zip
fix infamous #4136
rationale: our own SIG_CHLD handler intercept the child death after run_program's waitpid() got interrupted by the signal but before it get rescheduled by the kernel (at which stage the child it wait for does not exists anymore)
-rwxr-xr-xperl-install/standalone/harddrake21
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index e183db62e..e9dbbdc72 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -162,6 +162,7 @@ $w->{window}->add(gtkpack_(0, Gtk2::VBox->new(0, 0),
create_scrolled_window(my $text = Gtk2::TextView->new)),
0, my $module_cfg_button = gtksignal_connect(Gtk2::Button->new(N("Configure module")),
clicked => sub {
+ local $SIG{CHLD} = undef;
require modules::interactive;
modules::interactive::config_window($in, $current_device);
gtkset_mousecursor_normal();