r25744 - in xfce4-panel/trunk: . plugins/launcher

Daichi Kawahata daichi at xfce.org
Sun May 27 07:38:38 CEST 2007


Hi Nick,

On Tue, 22 May 2007 18:20:49 +0000 (UTC)
Nick Schermer wrote:

> Author: nick
> Date: 2007-05-22 18:20:49 +0000 (Tue, 22 May 2007)
> New Revision: 25744
> 
> Modified:
>    xfce4-panel/trunk/ChangeLog
>    xfce4-panel/trunk/configure.in.in
>    xfce4-panel/trunk/plugins/launcher/launcher-exec.c
> Log:
> 	* configure.in.in, plugins/launcher/launcher-exec.c: Avoid zombie processes.

[...]

> +    while (1)
> +      {
> +        /* get the child process state without hanging */
> +        ret = waitpid (WAIT_ANY, NULL, WNOHANG);

Some platforms don't have WAIT_ANY in wait.h.

It requires

  #ifndef WAIT_ANY
  #define WAIT_ANY (-1)
  #endif

like panel/panel-app.c.

Regards,
-- 
Daichi

ISO 639-2: http://www.loc.gov/standards/iso639-2/php/code_list.php
ISO 3166 : http://www.iso.org/iso/en/prods-services/iso3166ma/index.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070527/b50a5280/attachment.pgp>


More information about the Xfce4-dev mailing list