[Pkg-xfce-commits] r1863 - in goodies/xfce4-genmon-plugin/debian: . patches
corsac at alioth.debian.org
corsac at alioth.debian.org
Wed Apr 16 20:02:24 UTC 2008
Author: corsac
Date: 2008-04-16 20:02:23 +0000 (Wed, 16 Apr 2008)
New Revision: 1863
Added:
goodies/xfce4-genmon-plugin/debian/patches/01_no-zombies.patch
Modified:
goodies/xfce4-genmon-plugin/debian/changelog
Log:
debian/patches:
- 01_no-zombies added: no zombies left by spawned process. closes: #422572
Modified: goodies/xfce4-genmon-plugin/debian/changelog
===================================================================
--- goodies/xfce4-genmon-plugin/debian/changelog 2008-04-14 21:07:40 UTC (rev 1862)
+++ goodies/xfce4-genmon-plugin/debian/changelog 2008-04-16 20:02:23 UTC (rev 1863)
@@ -1,3 +1,10 @@
+xfce4-genmon-plugin (3.2-2) UNRELEASED; urgency=low
+
+ * debian/patches:
+ - 01_no-zombies added: no zombies left by spawned process. closes: #422572
+
+ -- Yves-Alexis Perez <corsac at debian.org> Wed, 16 Apr 2008 21:40:42 +0200
+
xfce4-genmon-plugin (3.2-1) unstable; urgency=low
[ Simon Huggins ]
Added: goodies/xfce4-genmon-plugin/debian/patches/01_no-zombies.patch
===================================================================
--- goodies/xfce4-genmon-plugin/debian/patches/01_no-zombies.patch (rev 0)
+++ goodies/xfce4-genmon-plugin/debian/patches/01_no-zombies.patch 2008-04-16 20:02:23 UTC (rev 1863)
@@ -0,0 +1,23 @@
+diff -u a/main.c b/main.c
+--- a/panel-plugin/main.c 2008-03-15 15:38:18.000000000 -0700
++++ b/panel-plugin/main.c 2008-04-16 08:01:26.000000000 -0700
+@@ -32,6 +32,7 @@
+
+ #include <libxfce4util/libxfce4util.h>
+ #include <libxfcegui4/dialogs.h>
++#include <libxfcegui4/xfce-exec.h>
+ #include <libxfce4panel/xfce-panel-plugin.h>
+ #include <libxfce4panel/xfce-panel-convenience.h>
+
+@@ -94,10 +95,8 @@
+ {
+ struct genmon_t *poPlugin = (genmon_t *) p_pvPlugin;
+ struct monitor_t *poMonitor = &(poPlugin->oMonitor);
+- char result[256];
+
+- genmon_SpawnCmd (poMonitor->onClickCmd, result,
+- sizeof (poMonitor->onClickCmd), 0);
++ xfce_exec(poMonitor->onClickCmd, 0, 0, NULL);
+ }
+
+ /**************************************************************/
More information about the Pkg-xfce-commits
mailing list