Re: assorted gnome-core patches



On 28 August, 2001 - Havoc Pennington sent me these 30K bytes:

> Hi,
> 
> George, this is your big chance to get rid of distro-specific
> changes. ;-) A bunch of patches to consider merging for gnome-core.
> 
[..]
>  - killall oafd on logout, to mop up oafd and all servers
>    it's launched (in its process group); a hackaround for 
>    busted lifecycle management of oafd itself and bonobo 
>    servers in general.

--- gnome-core-1.4.0.4/gsm/command.c.killoafd   Wed Aug  1 18:12:47 2001
+++ gnome-core-1.4.0.4/gsm/command.c    Wed Aug  1 18:13:26 2001
@@ -277,6 +277,9 @@
 void
 execute_logout (void)
 {
+  /* Bad hack of the century */
+  system ("killall -g oafd");
+
   if (logout_command_argv)
     execvp (logout_command_argv[0], logout_command_argv);
 }

EEEEEEEEEK!

NAME
     killall - kill all active processes

No thanks. No.

/Tomas
-- 
Tomas Ögren, stric ing umu se, http://www.ing.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,ing,acc}.umu.se




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]