From b733c644eb9504f6d5fd2cb0df3609e1e7b34584 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 11 Sep 2003 21:08:19 +0000 Subject: 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) --- perl-install/standalone/harddrake2 | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/standalone') 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(); -- cgit v1.2.1