From 376ea96ca46fdfab3e61519eef361d96d1654e20 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 10 Mar 2003 09:05:20 +0000 Subject: - only the parent can see that fork() has failled ... - display a splash error message if the program to execute is not executable - prevent freeze if the program to exec() isn't executable. else exec() faillure will have side effects that will badly freeze mcc since child who should have overwrite mcc code will complete its execution by running forked gtk+ object destructors (which will confuse X11 and badly catch up its parent mcc). so use POSIX::_exit(1) to prevent that and immediately return. - sub processes faillures (such as those resulting from perl typos and the like) are already nicely catched by new plug-added/plug-removed scheme and SIG_CHILD handler - one perl_checker fix - package ChangeLog too --- drakconf.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'drakconf.spec') diff --git a/drakconf.spec b/drakconf.spec index 7b267a23..974a30b4 100644 --- a/drakconf.spec +++ b/drakconf.spec @@ -4,7 +4,7 @@ Summary: The Mandrake Control Center Name: drakconf Version: 9.1 -Release: 6mdk +Release: 7mdk # get the source from our cvs repository (see # http://www.linuxmandrake.com/en/cvs.php3) Source0: %name-%version.tar.bz2 @@ -77,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) -%doc COPYING +%doc COPYING ChangeLog %config(noreplace) %ghost /etc/mcc.conf %config(noreplace) /etc/gnome-vfs-2.0/vfolders/* %_bindir/* @@ -93,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Mar 7 2003 Thierry Vignaud 9.1-7mdk +- make mcc more robust against fork()/exec() faillures + * Thu Mar 6 2003 Thierry Vignaud 9.1-6mdk - hide explanations for logdrake too since it's too big - update translations -- cgit v1.2.1