On Wed, Nov 07, 2001 at 11:01:41AM +0100, Marcel J.E. Mol wrote:
> Maybe this is better:
>
> diff -u i8kutils-1.2.orig/i8kbuttons.c i8kutils-1.2/i8kbuttons.c
> --- i8kutils-1.2.orig/i8kbuttons.c Tue Nov 6 20:07:27 2001
> +++ i8kutils-1.2/i8kbuttons.c Tue Nov 6 20:11:19 2001
> @@ -53,15 +53,17 @@
>
> DPRINTF("exec_cmd: %s\n", cmd);
>
> if ((rc=fork()) < 0) {
> perror("fork failed");
> return;
> }
>
> if (rc == 0) {
> execl("/bin/sh", "sh", "-c", cmd, NULL);
> exit(0);
> }
> + else
> + wait(&rc);
> }
>
> It get rid of the zombies and allows only one setmixer/auimix command
> to be active at a time...
Yup I did that on i8kutils-1.1, then reverted to system(), because I
removed the anti-repeat system, and used a slow mixer application. Then
the repeat was bad (sometimes slow, sometimes quick).
In fact, I don't really mind, as now I use aumix (and it is fast
enought).
Massimo, choose one please :-)
Stephane
-- /// Stephane Jourdois /"\ ASCII RIBBON CAMPAIGN \\\ ((( Ingénieur développement \ / AGAINST HTML MAIL ))) \\\ 6, av. de la Belle Image X /// \\\ 94440 Marolles en Brie / \ +33 6 8643 3085 ///
This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:34 EST