diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-01-08 04:42:00 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-01-08 04:42:00 +0100 |
commit | 3d84feede672609e1c490af4a6d69c14f07ba7fa (patch) | |
tree | 2bd0d538cffa05f7d8967ba8b6b2750cb1e13eb2 | |
parent | a0670dbe7b8f9f2fe053cc412402485c0857b552 (diff) | |
download | mgaonline-3d84feede672609e1c490af4a6d69c14f07ba7fa.tar mgaonline-3d84feede672609e1c490af4a6d69c14f07ba7fa.tar.gz mgaonline-3d84feede672609e1c490af4a6d69c14f07ba7fa.tar.bz2 mgaonline-3d84feede672609e1c490af4a6d69c14f07ba7fa.tar.xz mgaonline-3d84feede672609e1c490af4a6d69c14f07ba7fa.zip |
delay setting SIG_CHLD handler (mga#10289)
thus fixing segfault on startup
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mgaapplet | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- delay setting SIG_CHLD handler + (thus fixing segfault on startup (mga#10289)) + Version 3.4 - 30 December 2013, Thierry Vignaud - mdkapplet-config (mga#12148) @@ -207,6 +207,7 @@ shouldStart() or die "$localfile should be set to TRUE: please use --force or -f go2State('delayed'); Glib::Timeout->add_seconds($config{FIRST_CHECK_DELAY}/1000, sub { + $SIG{CHLD} = \&harvester; # schedule future checks: setup_cyclic_check(); # perform a test after initial delay: @@ -218,7 +219,6 @@ Glib::Timeout->add_seconds($config{FIRST_CHECK_DELAY}/1000, sub { $SIG{USR1} = 'IGNORE'; $SIG{USR2} = 'IGNORE'; -$SIG{CHLD} = \&harvester; $SIG{HUP} = \&restart_applet; run_program::raw({ detach => 1 }, 'ionice', '-p', $$, '-n7'); |